Skip to content

Commit

Permalink
fix(action): set action as failed on start error
Browse files Browse the repository at this point in the history
  • Loading branch information
soonum committed Dec 20, 2024
1 parent f26b8d6 commit e4e5380
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/index.js

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

1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ async function start() {
} catch (error) {
core.info(`Clean up after error, stop ${provider} instance`)
await slab.stopInstanceRequest(startInstanceResponse.runner_name)
core.setFailed(`${provider} instance start has failed`)
}
}

Expand Down

0 comments on commit e4e5380

Please sign in to comment.