Skip to content

Commit 0e31732

Browse files
committed
New attempted fix
1 parent 2f57807 commit 0e31732

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ jobs:
123123
with:
124124
enable-cache: true
125125

126+
- name: Make ~/.local accessible
127+
run: chmod -R 777 ~/.local
128+
126129
- name: Update cabal registry
127130
run: devbox run -- cabal update
128131

@@ -140,7 +143,7 @@ jobs:
140143
- name: Cache cabal state
141144
uses: actions/cache@v4
142145
with:
143-
path: ~/.cabal
146+
path: ~/.local
144147
key: state-${{ matrix.os }}-${{ hashFiles('devbox.lock', 'cabal.project.freeze') }}
145148

146149
- name: Cache build artifacts
@@ -160,7 +163,7 @@ jobs:
160163
run: devbox run -- npm install
161164

162165
- name: Configure
163-
run: XDG_STATE_HOME=~/.cabal devbox run -- cabal configure --enable-tests -O2
166+
run: devbox run -- cabal configure --enable-tests -O2
164167

165168
- name: Build
166169
run: devbox run -- cabal build

0 commit comments

Comments
 (0)