Skip to content

Commit

Permalink
Explicitly exit after this action runs to not wait for hanging promis…
Browse files Browse the repository at this point in the history
…es (#294)

See more in ruby/setup-ruby@036ef45
  • Loading branch information
eifinger authored Jul 8, 2024
1 parent 7e1ae83 commit 095fbb0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions dist/save-cache/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/save-cache/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/setup/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/setup/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/save-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export async function run(): Promise<void> {
const err = error as Error
core.setFailed(err.message)
}
process.exit(0)
}

async function saveCache(): Promise<void> {
Expand Down
1 change: 1 addition & 0 deletions src/setup-rye.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ async function run(): Promise<void> {
} catch (err) {
core.setFailed((err as Error).message)
}
process.exit(0)
}

async function setupRye(
Expand Down

0 comments on commit 095fbb0

Please sign in to comment.