diff --git a/dist/index.js b/dist/index.js index 5f21f9bf3..4055d736b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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 diff --git a/index.js b/index.js index e636b2ea6..a9735b567 100644 --- a/index.js +++ b/index.js @@ -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