Cache downloaded wrapper dists separately

In the current model, each cached Gradle User Home could contain
a copy of one or more downloaded wrapper distributions. This results
in large cache entries which could easily lead to premature eviction.

With this change, wrapper dists are cached separately from the rest
of the Gradle User Home directory. The artifact file is replaced by
a marker file which allows the action to restore the artifact from
cache when the Gradle user Home cache is restored.
This commit is contained in:
Daz DeBoer 2021-09-11 09:10:44 -06:00
parent b5a08466b4
commit e833360307
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D
3 changed files with 94 additions and 3 deletions

2
dist/main/index.js vendored

File diff suppressed because one or more lines are too long