diff --git a/src/save.ts b/src/save.ts index b9363a33..c8132940 100644 --- a/src/save.ts +++ b/src/save.ts @@ -75,11 +75,6 @@ async function run(earlyExit : boolean | undefined) : Promise { // A failure to save cache shouldn't prevent the entire CI run from // failing, so do not call setFailed() here. core.warning(`Saving cache failed: ${error}`); - - // Early exit process so node doesn't wait for hanging promises - if (earlyExit) { - process.exit(-1); - } } // Since we are not using http requests after this