File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 3131 id : native-cabal-cache-restore
3232 uses : actions/cache/restore@v4
3333 with :
34- path : ~/.config/cabal
34+ path : |
35+ ~/.config/cabal
36+ ~/.cache/cabal
3537 key : native-cabal-${{ env.CI_CACHE_KEY }}
3638
3739 - name : Try to restore cached dist-newstyle
@@ -107,14 +109,16 @@ jobs:
107109 wasm32-wasi-cabal build
108110 cp $(wasm32-wasi-cabal list-bin als) ~/out
109111
110- - name : Clean up cabal logs
111- run : rm -rf ~/.config /cabal/logs ~/.ghc-wasm/.cabal/logs
112+ - name : Clean up native/wasm cabal logs
113+ run : rm -rf ~/.cache /cabal/logs ~/.ghc-wasm/.cabal/logs
112114
113115 - name : Cache native cabal
114116 uses : actions/cache/save@v4
115117 if : always()
116118 with :
117- path : ~/.config/cabal
119+ path : |
120+ ~/.config/cabal
121+ ~/.cache/cabal
118122 key : ${{ steps.native-cabal-cache-restore.outputs.cache-primary-key }}
119123
120124 - name : Cache ghc-wasm-meta
You can’t perform that action at this time.
0 commit comments