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
No known key found for this signature in database
GPG Key ID: DD6B9F0B06683D5D
5 changed files with 6 additions and 6 deletions

2
dist/main/index.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/post/index.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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)