Skip to content

Commit 3303695

Browse files
authored
Merge pull request #507 from odin-delrio/patch-1
Improved gradle cache key calculation example
2 parents 26c48dc + e64ab30 commit 3303695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ We cache the elements of the Cabal store separately, as the entirety of `~/.caba
140140
path: |
141141
~/.gradle/caches
142142
~/.gradle/wrapper
143-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
143+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
144144
restore-keys: |
145145
${{ runner.os }}-gradle-
146146
```

0 commit comments

Comments
 (0)