1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-28 15:09:15 +01:00

Avoid caching 100-150MiB Gradle distribution: !~/.gradle/wrapper/dists/**/gradle*.zip

This commit is contained in:
Vladimir Sitnikov 2020-08-19 10:46:15 +03:00
parent 2c899f56d3
commit bc94205084

View file

@ -142,6 +142,7 @@ Consider using [gradle-cache-action](https://github.com/burrunan/gradle-cache-ac
path: | path: |
~/.gradle/caches ~/.gradle/caches
~/.gradle/wrapper ~/.gradle/wrapper
!~/.gradle/wrapper/dists/**/gradle*.zip
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: | restore-keys: |
${{ runner.os }}-gradle- ${{ runner.os }}-gradle-