Skip to content

Commit

Permalink
github: Try again with actions/cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
myme committed May 8, 2024
1 parent bde242c commit 1efc9b0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@ jobs:
- name: Cache
uses: actions/cache@v4
env:
cache-name: cache-ghc-${{ matrix.ghc }}-cabal
cache-name: cache-cabal
with:
path: ~/.cabal
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/cabal.project') }}
key: ${{ runner.os }}-build-ghc-${{ matrix.ghc }}-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/cabal.project') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-ghc-${{ matrix.ghc }}-${{ env.cache-name }}-
${{ runner.os }}-build-ghc-${{ matrix.ghc }}-
${{ runner.os }}-build-
${{ runner.os }}-
Expand Down

0 comments on commit 1efc9b0

Please sign in to comment.