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

Set outcome/conclusion for composite action steps in steps context #1600

Merged
merged 4 commits into from
Jan 12, 2022

Conversation

thboop
Copy link
Collaborator

@thboop thboop commented Jan 10, 2022

Resolves #1578

Essentially, we need to manually set the outcome/conclusion on the steps context every time we run a composite step. A minor refactor was done in this pr to make the code more readable.

@thboop thboop requested a review from a team as a code owner January 10, 2022 20:52
TingluoHuang
TingluoHuang previously approved these changes Jan 10, 2022
{
step.ExecutionContext.Result = result;
SetStepsContext(step);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: new line

@thboop thboop merged commit 47dfebd into main Jan 12, 2022
@thboop thboop deleted the thboop/setOutcomeComposite branch January 12, 2022 16:14
strager pushed a commit to strager/github-actions-runner that referenced this pull request Jan 20, 2022
…ctions#1600)

* set outcome/conclusion for composite action steps in steps context

* fix typo

* pr fixes

* fix happy case!
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.

Composite Actions don't support steps.step_id.outcome
3 participants