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
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)