File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -76,13 +76,20 @@ jobs:
76
76
- name : Cache Cabal
77
77
uses : actions/cache@v2
78
78
env :
79
- cache-name : cache-cabal
79
+ cache-name : hackage-sources
80
80
with :
81
- path : |
82
- ${{ steps.HaskEnvSetup.outputs.cabal-store }}
83
- ${{ env.CABAL_PKGS_DIR }}
84
- key : v2-${{ runner.os }}-${{ matrix.ghc }}-build-${{ hashFiles('cabal.project') }}
85
- restore-keys : v2-${{ runner.os }}-${{ matrix.ghc }}-build-
81
+ path : ${{ env.CABAL_PKGS_DIR }}
82
+ key : ${{ runner.os }}-${{ matrix.ghc }}-${{ env.cache-name }}-${{ hashFiles('cabal.project') }}
83
+ restore-keys : ${{ runner.os }}-${{ matrix.ghc }}-${{ env.cache-name }}-
84
+
85
+ - name : Cache Cabal
86
+ uses : actions/cache@v2
87
+ env :
88
+ cache-name : compiled-deps
89
+ with :
90
+ path : ${{ steps.HaskEnvSetup.outputs.cabal-store }}
91
+ key : ${{ runner.os }}-${{ matrix.ghc }}-${{ env.cache-name }}-${{ hashFiles('cabal.project') }}
92
+ restore-keys : ${{ runner.os }}-${{ matrix.ghc }}-${{ env.cache-name }}-
86
93
87
94
- run : cabal update
88
95
You can’t perform that action at this time.
0 commit comments