From 3d2002b9bd7d23390b766cd5945710fe775a6beb Mon Sep 17 00:00:00 2001 From: Andreas Abel Date: Wed, 11 Oct 2023 13:34:35 +0200 Subject: [PATCH] CI: always fresh cache key --- .github/workflows/ci-ubuntu.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-ubuntu.yml b/.github/workflows/ci-ubuntu.yml index 1bf5ae836d..c8f3e3f4d2 100644 --- a/.github/workflows/ci-ubuntu.yml +++ b/.github/workflows/ci-ubuntu.yml @@ -91,7 +91,10 @@ jobs: ~/.cabal/packages ~/.cabal/store ~/.cabal/bin - key: ${{ runner.os }}-${{ env.GHC_VERSION }}-${{ env.CABAL_VERSION }}-${{ env.AGDA_COMMIT }} + key: ${{ runner.os }}-${{ env.GHC_VERSION }}-${{ env.CABAL_VERSION }}-${{ env.AGDA_COMMIT }}-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-${{ env.GHC_VERSION }}-${{ env.CABAL_VERSION }}-${{ env.AGDA_COMMIT }}- + ${{ runner.os }}-${{ env.GHC_VERSION }}-${{ env.CABAL_VERSION }}- ######################################################################## ## INSTALLATION STEPS