Deploy version 1.3.0
This commit is contained in:
8
dist/index.js
vendored
8
dist/index.js
vendored
@@ -31964,6 +31964,14 @@ async function restoreCache(key) {
|
|||||||
}
|
}
|
||||||
const archiveSize = fs5.statSync(zstPath).size;
|
const archiveSize = fs5.statSync(zstPath).size;
|
||||||
await extractCompressedTar(zstPath);
|
await extractCompressedTar(zstPath);
|
||||||
|
try {
|
||||||
|
fs5.unlinkSync(zstPath);
|
||||||
|
core3.info(`\u{1F5D1}\uFE0F Cache archive deleted: ${zstPath}`);
|
||||||
|
} catch (err) {
|
||||||
|
core3.warning(
|
||||||
|
`Failed to delete cache archive: ${err instanceof Error ? err.message : String(err)}`
|
||||||
|
);
|
||||||
|
}
|
||||||
const endTime = Date.now();
|
const endTime = Date.now();
|
||||||
const duration = endTime - startTime;
|
const duration = endTime - startTime;
|
||||||
core3.info(
|
core3.info(
|
||||||
|
|||||||
Reference in New Issue
Block a user