Add cache restore dryRun option
This commit is contained in:
1 parent
a04c721765
commit
0a9156fb4b
4 files changed
+65
-4
No files matched your search
@@ -100,6 +100,11 @@ export async function restoreCache(
|
||||
return undefined
|
||||
}
|
||||
|
||||
if (options?.dryRun) {
|
||||
core.info('Dry run - skipping download')
|
||||
return cacheEntry.cacheKey
|
||||
}
|
||||
|
||||
archivePath = path.join(
|
||||
await utils.createTempDirectory(),
|
||||
utils.getCacheFileName(compressionMethod)
|
||||
|
||||
Reference in new issue
Block a user