File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 75
75
(cd servant-conduit && eval $DOCTEST)
76
76
(cd servant-pipes && eval $DOCTEST)
77
77
78
+ - name : Save cache
79
+ uses : actions/cache/save@v3
80
+ if : always()
81
+ with :
82
+ path : |
83
+ ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
84
+ dist-newstyle
85
+ key : ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
86
+
78
87
# stack:
79
88
# name: stack / ghc ${{ matrix.ghc }}
80
89
# runs-on: ubuntu-latest
@@ -130,7 +139,7 @@ jobs:
130
139
cat cabal.project
131
140
nix-shell ghcjs.nix --run "cabal v2-update && cabal v2-freeze"
132
141
133
- - uses : actions/cache/save @v3
142
+ - uses : actions/cache/restore @v3
134
143
name : Cache ~/.cabal/store and dist-newstyle
135
144
with :
136
145
path : |
@@ -147,3 +156,12 @@ jobs:
147
156
- name : Tests
148
157
run : |
149
158
nix-shell ghcjs.nix --run ".github/run-ghcjs-tests.sh"
159
+
160
+ - name : Save cache
161
+ uses : actions/cache/save@v3
162
+ if : always()
163
+ with :
164
+ path : |
165
+ ~/.cabal/store
166
+ dist-newstyle
167
+ key : ${{ runner.os }}-ghcjs8.6-${{ hashFiles('cabal.project.freeze') }}
You can’t perform that action at this time.
0 commit comments