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()