Improve Haskell example

as proposed in https://github.com/actions/cache/issues/555
pull/706/head
Joachim Breitner 2021-12-29 20:50:37 +01:00 committed by GitHub
parent f7a7367bb2
commit 4e8aa1cc93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -168,8 +168,8 @@ We cache the elements of the Cabal store separately, as the entirety of `~/.caba
~/.cabal/packages
~/.cabal/store
dist-newstyle
key: ${{ runner.os }}-${{ matrix.ghc }}
```
key: cabal-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('**/*.cabal', '**/cabal.project', '**/cabal.project.freeze') }}
restore-keys: cabal-${{ runner.os }}-${{ matrix.ghc }}-```
## Java - Gradle