mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-12-26 23:12:18 -05:00
Improved gradle cache key calculation example
This commit is contained in:
parent
26c48dce83
commit
e64ab303d1
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue