Fix logging of cache key for Gradle User Home

This commit is contained in:
Daz DeBoer
2021-10-31 20:35:28 -06:00
parent 2a57ddf74a
commit 717db318c1
5 changed files with 6 additions and 6 deletions

View File

@@ -150,9 +150,9 @@ export abstract class AbstractCache {
return
}
core.saveState(this.cacheResultStateKey, cacheResult)
core.saveState(this.cacheResultStateKey, cacheResult.key)
entryReport.markRestored(cacheResult.key, cacheResult.size)
core.info(`Restored ${this.cacheDescription} from cache key: ${cacheResult}`)
core.info(`Restored ${this.cacheDescription} from cache key: ${cacheResult.key}`)
try {
await this.afterRestore(listener)