mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-12-23 12:36:01 +01:00
Improve Haskell example
as proposed in https://github.com/actions/cache/issues/555
This commit is contained in:
parent
f7a7367bb2
commit
4e8aa1cc93
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue