Explicitly exit after this action runs to not wait for hanging promises

* See https://github.com/ruby/setup-ruby/issues/543
This commit is contained in:
Benoit Daloze
2023-11-07 19:05:04 +01:00
parent 552f83fe52
commit 036ef458dd
2 changed files with 6 additions and 0 deletions
Generated Vendored
+3
View File
@@ -65727,6 +65727,9 @@ async function run() {
core.setFailed(error.stack)
}
}
// Explicit process.exit() to not wait hanging promises,
// see https://github.com/ruby/setup-ruby/issues/543
process.exit()
}
// entry point when this action is run from other actions
+3
View File
@@ -30,6 +30,9 @@ export async function run() {
core.setFailed(error.stack)
}
}
// Explicit process.exit() to not wait hanging promises,
// see https://github.com/ruby/setup-ruby/issues/543
process.exit()
}
// entry point when this action is run from other actions