Add more details to cache summary report

This commit is contained in:
Daz DeBoer 2022-06-02 22:39:55 -06:00
parent a9a5bcf180
commit 143774290e
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D
3 changed files with 38 additions and 3 deletions

View file

@ -212,6 +212,7 @@ abstract class AbstractEntryExtractor {
if (previouslyRestoredKey === cacheKey) {
cacheDebug(`No change to previously restored ${artifactType}. Not saving.`)
entryListener.markUnchanged('entry contents unchanged')
} else {
core.info(`Caching ${artifactType} with path '${pattern}' and cache key: ${cacheKey}`)
await saveCache([pattern], cacheKey, entryListener)