mirror of
https://gitee.com/actions-mirror/cache.git
synced 2024-11-30 14:00:43 +08:00
Improved gradle cache key calculation example
This commit is contained in:
parent
26c48dce83
commit
e64ab303d1
@ -140,7 +140,7 @@ We cache the elements of the Cabal store separately, as the entirety of `~/.caba
|
|||||||
path: |
|
path: |
|
||||||
~/.gradle/caches
|
~/.gradle/caches
|
||||||
~/.gradle/wrapper
|
~/.gradle/wrapper
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-gradle-
|
${{ runner.os }}-gradle-
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user