1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-24 04:29:16 +01:00

Improve Haskell example

as proposed in https://github.com/actions/cache/issues/555
This commit is contained in:
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

View file

@ -168,8 +168,8 @@ We cache the elements of the Cabal store separately, as the entirety of `~/.caba
~/.cabal/packages ~/.cabal/packages
~/.cabal/store ~/.cabal/store
dist-newstyle 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 ## Java - Gradle