mirror of https://github.com/actions/cache.git
Merge pull request #507 from odin-delrio/patch-1
Improved gradle cache key calculation examplepull/396/merge
commit
3303695afa
|
@ -140,7 +140,7 @@ We cache the elements of the Cabal store separately, as the entirety of `~/.caba
|
|||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue