Skip to content

Commit

Permalink
New attempted fix
Browse files Browse the repository at this point in the history
  • Loading branch information
robinheghan committed Oct 17, 2024
1 parent 2f57807 commit 0e31732
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ jobs:
with:
enable-cache: true

- name: Make ~/.local accessible
run: chmod -R 777 ~/.local

- name: Update cabal registry
run: devbox run -- cabal update

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

- name: Cache build artifacts
Expand All @@ -160,7 +163,7 @@ jobs:
run: devbox run -- npm install

- name: Configure
run: XDG_STATE_HOME=~/.cabal devbox run -- cabal configure --enable-tests -O2
run: devbox run -- cabal configure --enable-tests -O2

- name: Build
run: devbox run -- cabal build
Expand Down

0 comments on commit 0e31732

Please sign in to comment.