We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56bb510 commit 19211b3Copy full SHA for 19211b3
.github/workflows/bump.yml
@@ -20,8 +20,9 @@ jobs:
20
steps:
21
- uses: actions/checkout@v3
22
23
- - name: cache cabal store
24
- uses: actions/cache@v3
+ - name: Cache cabal store
+ id: cache
25
+ uses: actions/cache/restore@v3
26
with:
27
key: bump-action-cabal-store-${{ runner.os }}-${{ github.sha }}
28
path: ~/.cabal/store
@@ -98,6 +99,13 @@ jobs:
98
99
run: |
100
cabal build --only-dependencies --enable-tests --write-ghc-environment-files=always ${{ env.CABAL_FLAGS }}
101
102
+ - name: Save cache
103
+ uses: actions/cache/save@v3
104
+ if: always()
105
+ with:
106
+ key: ${{ steps.cache.outputs.cache-primary-key }}
107
+ path: ~/.cabal/store
108
+
109
- name: Build local package
110
if: env.CABAL_COUNT > 0 && steps.dependency-build.outcome == 'success'
111
shell: bash
0 commit comments