Skip to content

Commit

Permalink
Revert to saving entire wrapper directory
Browse files Browse the repository at this point in the history
Due to #293 the current mechanism for caching wrappers is not working.
This is a temporary fix to ensure that save/restore of the entire directory works.
  • Loading branch information
bigdaz committed May 29, 2022
1 parent 47f9eb6 commit 16ccd9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cache-extract-entries.ts
Expand Up @@ -316,7 +316,7 @@ export class GradleHomeEntryExtractor extends AbstractEntryExtractor {

return [
entryDefinition('generated-gradle-jars', ['caches/*/generated-gradle-jars/*.jar'], false),
entryDefinition('wrapper-zips', ['wrapper/dists/*/*/*/'], false), // Directories only
entryDefinition('wrapper-zips', ['wrapper/dists/*/*/'], false), // Entire wrapper directory cached together
entryDefinition('java-toolchains', ['jdks/*.zip', 'jdks/*.tar.gz'], false),
entryDefinition('dependencies', ['caches/modules-*/files-*/*/*/*/*'], true),
entryDefinition('instrumented-jars', ['caches/jars-*/*'], true),
Expand Down

0 comments on commit 16ccd9a

Please sign in to comment.