Skip to content

Commit 3ff569f

Browse files
committed
Don’t cache dist-newstyle on CI
1 parent 9bfc1b0 commit 3ff569f

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
5757
- uses: actions/checkout@v4
5858

59-
- uses: actions/cache@v3
59+
- uses: actions/cache@v4
6060
name: Cache WASM cabal stuff
6161
with:
6262
path: |
@@ -65,13 +65,12 @@ jobs:
6565
restore-keys: |
6666
wasi-${{ runner.os }}-${{ matrix.ghc-wasm-meta-rev }}-flavour-${{ matrix.ghc }}
6767
68-
- uses: actions/cache@v3
69-
name: Cache cabal stuff
68+
- uses: actions/cache@v4
69+
name: Cache cabal store
7070
with:
71-
path: |
72-
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
73-
dist-newstyle
74-
key: ${{ runner.os }}-${{ matrix.ghc }}
71+
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
72+
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ github.sha }}
73+
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-
7574

7675
- name: Build dependencies
7776
run: |

0 commit comments

Comments
 (0)