Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed the task output #4

Merged
merged 12 commits into from
Dec 9, 2022
Merged

Changed the task output #4

merged 12 commits into from
Dec 9, 2022

Conversation

slewis74
Copy link
Contributor

@slewis74 slewis74 commented Dec 8, 2022

While working through more usage examples it became apparent that the boolean output value wasn't quite enough to be able to reason about certain failure conditions.

The output has been changed to task_state so that error handling logic in the workflow makes more sense. The test workflow has been updated with a 2nd self test to illustrate how this can be utilised.

image

Depends on OctopusDeploy/api-client.ts#127 for a fix to ServerTaskWaiter, which wasn't cleaning up promises correctly in error cases

@slewis74 slewis74 requested a review from a team December 8, 2022 07:03
package.json Outdated Show resolved Hide resolved
action.yml Outdated Show resolved Hide resolved
@slewis74 slewis74 merged commit 96008c7 into main Dec 9, 2022
@slewis74 slewis74 deleted the enh-changeoutput branch December 9, 2022 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants