diff --git a/dist/index.js b/dist/index.js index da10e0d..5bd359e 100644 --- a/dist/index.js +++ b/dist/index.js @@ -26410,6 +26410,7 @@ async function run() { try { if (core4.getState("isPost") === "true") { core4.info("\n\u{1F9F9} Post-job: Saving cache..."); + getToken(); const key = core4.getState("key"); const paths = JSON.parse(core4.getState("paths") || "[]"); const compression_level = parseInt( @@ -26425,6 +26426,7 @@ async function run() { await saveCache(key, paths, compression_level); } else { core4.info("\u{1F680} Pre-job: Restoring cache..."); + getToken(); const key = core4.getInput("key", { required: true }); const paths = core4.getMultilineInput("paths", { required: true }).filter( (p) => p.trim() !== ""