Merge pull request #507 from odin-delrio/patch-1

Improved gradle cache key calculation example
This commit is contained in:
Konrad Pabjan 2021-01-14 17:21:10 +01:00 committed by GitHub
commit 3303695afa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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-
```