File tree 1 file changed +10
-3
lines changed
1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -73,14 +73,21 @@ jobs:
73
73
echo "package floskell" >> cabal.project
74
74
echo " ghc-options: -O0" >> cabal.project
75
75
76
+ - name : Cache Cabal
77
+ uses : actions/cache@v2
78
+ env :
79
+ cache-name : hackage-sources
80
+ with :
81
+ path : ${{ env.CABAL_PKGS_DIR }}
82
+ key : v2-${{ runner.os }}-${{ matrix.ghc }}-hackage-sources-${{ hashFiles('cabal.project') }}
83
+ restore-keys : v2-${{ runner.os }}-${{ matrix.ghc }}-hackage-sources-
84
+
76
85
- name : Cache Cabal
77
86
uses : actions/cache@v2
78
87
env :
79
88
cache-name : cache-cabal
80
89
with :
81
- path : |
82
- ${{ steps.HaskEnvSetup.outputs.cabal-store }}
83
- ${{ env.CABAL_PKGS_DIR }}
90
+ path : ${{ steps.HaskEnvSetup.outputs.cabal-store }}
84
91
key : v2-${{ runner.os }}-${{ matrix.ghc }}-build-${{ hashFiles('cabal.project') }}
85
92
restore-keys : v2-${{ runner.os }}-${{ matrix.ghc }}-build-
86
93
You can’t perform that action at this time.
0 commit comments