Skip to content

Commit

Permalink
Improved gradle cache key calculation example
Browse files Browse the repository at this point in the history
  • Loading branch information
Odín del Río authored and GitHub committed Jan 13, 2021
1 parent 26c48dc commit e64ab30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-
```
Expand Down

0 comments on commit e64ab30

Please sign in to comment.