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
1 changed files with 1 additions and 0 deletions

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-