mirror of
https://github.com/gradle/actions.git
synced 2025-11-26 17:09:10 +08:00
Add test for no cache-cleanup with config-cache hit
This commit is contained in:
@@ -24,6 +24,10 @@ export class BuildResults {
|
||||
return this.results.some(result => result.buildFailed)
|
||||
}
|
||||
|
||||
anyConfigCacheHit(): boolean {
|
||||
return this.results.some(result => result.configCacheHit)
|
||||
}
|
||||
|
||||
uniqueGradleHomes(): string[] {
|
||||
const allHomes = this.results.map(buildResult => buildResult.gradleHomeDir)
|
||||
return Array.from(new Set(allHomes))
|
||||
|
||||
Reference in New Issue
Block a user