Skip to content

Commit 76aa9eb

Browse files
committed
layerCache.originalKeyThatMayUnformatted = primaryKey
1 parent c39e805 commit 76aa9eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

post.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ const main = async () => {
1919
core.debug(JSON.stringify({ imageIdsToSave: imageDetector.getImagesShouldSave() }))
2020
const layerCache = new LayerCache(imageDetector.getImagesShouldSave())
2121

22+
layerCache.originalKeyThatMayUnformatted = primaryKey
2223
core.debug(JSON.stringify({ restoredKey, formattedOriginalCacheKey: layerCache.getFormattedOriginalCacheKey()}))
2324
if (restoredKey !== `` && restoredKey === layerCache.getFormattedOriginalCacheKey()) {
24-
core.info(`Key ${restoredKey} already exists, aborting.`)
25+
core.info(`Key ${restoredKey} already exists, skip storing.`)
2526
return
2627
}
2728
await layerCache.store(primaryKey)

0 commit comments

Comments
 (0)