mirror of
https://github.com/gradle/actions.git
synced 2026-10-16 19:57:12 +08:00
Cache downloaded Java Toolchains
Due to limitations with the way extracted entries are defined, a separate entry is defined for *nix and windows. Fixes #33
This commit is contained in:
2 files changed
+7
-4
No files matched your search
@@ -229,7 +229,8 @@ export class GradleUserHomeCache extends AbstractCache {
|
||||
}
|
||||
|
||||
private isBundlePattern(pattern: string): boolean {
|
||||
return pattern.endsWith('*')
|
||||
// If pattern ends with `/*`, then we cache as a "bundle": all of the matching files in a single cache entry
|
||||
return pattern.endsWith(`${path.sep}*`)
|
||||
}
|
||||
|
||||
private async collectCacheResults(processes: Promise<ExtractedCacheEntry>[]): Promise<ExtractedCacheEntry[]> {
|
||||
|
||||
Reference in new issue
Block a user