diff --git a/dist/save-cache/index.js b/dist/save-cache/index.js index 13846ca..7f546d4 100644 --- a/dist/save-cache/index.js +++ b/dist/save-cache/index.js @@ -82523,6 +82523,11 @@ function run() { const err = error; core.setFailed(err.message); } + // node will stay alive if any promises are not resolved, + // which is a possibility if HTTP requests are dangling + // due to retries or timeouts. We know that if we got here + // that all promises that we care about have successfully + // resolved, so simply exit with success. process.exit(0); }); } diff --git a/src/save-cache.ts b/src/save-cache.ts index 173c4ba..cf5acca 100644 --- a/src/save-cache.ts +++ b/src/save-cache.ts @@ -20,6 +20,11 @@ export async function run(): Promise { const err = error as Error; core.setFailed(err.message); } + // node will stay alive if any promises are not resolved, + // which is a possibility if HTTP requests are dangling + // due to retries or timeouts. We know that if we got here + // that all promises that we care about have successfully + // resolved, so simply exit with success. process.exit(0); }