File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,13 @@ jobs:
2222 uses : actions/cache/restore@v4
2323 with :
2424 path : ~/.ghc-wasm
25- key : ${{ runner.os }}-${{ runner.arch }}-${{ env.GHC_WASM_META_COMMIT_HASH }}-flavor-${{ env.GHC_WASM_META_FLAVOUR }}-r0-ghc-wasm
25+ key : " ghc-wasm-${{ runner.os }}-${{ runner.arch }}-${{ env.GHC_WASM_META_COMMIT_HASH }}-flavor-${{ env.GHC_WASM_META_FLAVOUR }}-${{ hashFiles('.ghc-wasm/**') }}"
26+ restore-keys : |
27+ 'ghc-wasm-${{ runner.os }}-${{ runner.arch }}-${{ env.GHC_WASM_META_COMMIT_HASH }}-flavor-${{ env.GHC_WASM_META_FLAVOUR }}-'
2628
2729 - name : Clone and setup ghc-wasm-meta
2830 id : ghc-wasm-setup
29- if : steps.ghc-wasm-cache-restore.outputs.cache-hit != 'true '
31+ if : steps.ghc-wasm-cache-restore.outputs.cache-matched-key == ' '
3032 run : |
3133 mkdir ghc-wasm-meta
3234 cd ghc-wasm-meta
7981 wasm32-wasi-cabal build
8082 cp $(wasm32-wasi-cabal list-bin als) ~/out
8183
84+ - name : Clean up cabal logs
85+ run : rm -rf ~/.ghc-wasm/.cabal/logs
86+
8287 - name : Cache ghc-wasm-meta
8388 uses : actions/cache/save@v4
8489 if : always()
You can’t perform that action at this time.
0 commit comments