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 95337e0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

# [1.4.0](https://github.com/zama-ai/slab-github-runner/compare/v1.3.0...v1.4.0) (2024-12-13)


### Bug Fixes

* **action:** retry start stop requests at least 3 times ([ff32326](https://github.com/zama-ai/slab-github-runner/commit/ff3232614ca263aa0ea615566201b59758518b2d))

- **action:** retry start stop requests at least 3 times
([ff32326](https://github.com/zama-ai/slab-github-runner/commit/ff3232614ca263aa0ea615566201b59758518b2d))

### Features

* **action:** handle user cancellation ([5a0942f](https://github.com/zama-ai/slab-github-runner/commit/5a0942f4fed651ed35b755ae9395c6297ce564b0))
- **action:** handle user cancellation
([5a0942f](https://github.com/zama-ai/slab-github-runner/commit/5a0942f4fed651ed35b755ae9395c6297ce564b0))
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 95337e0

Please sign in to comment.