diff --git a/dist/setup-pdm.js b/dist/setup-pdm.js index 178f70d..90b86a1 100644 --- a/dist/setup-pdm.js +++ b/dist/setup-pdm.js @@ -91128,6 +91128,7 @@ async function run() { } catch (error2) { core8.setFailed(error2.message); } + import_node_process4.default.exit(); } run(); /*! Bundled license information: diff --git a/src/setup-pdm.ts b/src/setup-pdm.ts index df219b8..6f5d301 100644 --- a/src/setup-pdm.ts +++ b/src/setup-pdm.ts @@ -67,6 +67,9 @@ async function run(): Promise { catch (error: any) { core.setFailed(error.message) } + // Explicit process.exit() to not wait for hanging promises, + // see https://github.com/actions/setup-node/issues/878 + process.exit() } run()