Skip to content

Commit 3d2002b

Browse files
committed
CI: always fresh cache key
1 parent d622fa5 commit 3d2002b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci-ubuntu.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@ jobs:
9191
~/.cabal/packages
9292
~/.cabal/store
9393
~/.cabal/bin
94-
key: ${{ runner.os }}-${{ env.GHC_VERSION }}-${{ env.CABAL_VERSION }}-${{ env.AGDA_COMMIT }}
94+
key: ${{ runner.os }}-${{ env.GHC_VERSION }}-${{ env.CABAL_VERSION }}-${{ env.AGDA_COMMIT }}-${{ github.sha }}
95+
restore-keys: |
96+
${{ runner.os }}-${{ env.GHC_VERSION }}-${{ env.CABAL_VERSION }}-${{ env.AGDA_COMMIT }}-
97+
${{ runner.os }}-${{ env.GHC_VERSION }}-${{ env.CABAL_VERSION }}-
9598
9699
########################################################################
97100
## INSTALLATION STEPS

0 commit comments

Comments
 (0)