Skip to content

Commit e64ab30

Browse files
authored
Improved gradle cache key calculation example
1 parent 26c48dc commit e64ab30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)