diff --git a/dist/index.js b/dist/index.js index 2e1681b..7e0e640 100644 --- a/dist/index.js +++ b/dist/index.js @@ -31964,6 +31964,14 @@ async function restoreCache(key) { } const archiveSize = fs5.statSync(zstPath).size; 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 duration = endTime - startTime; core3.info(