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

Print step's output paramaters also to sdtout #389

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

mgoerens
Copy link
Contributor

This commit makes sure that all steps' output parameters (i.e. GITHUB_OUTPUT) are also printed to stdout, making it easier to debug workflow runs.

It also modifies the scripts output logic to only write to GITHUB_OUTPUT if the environment variable is defined, making it easier to run the scripts locally.

close #388

This commit makes sure that all steps' output parameters (i.e.
GITHUB_OUTPUT) are also printed to stdout, making it easier to debug
workflow runs.

It also modifies the scripts output logic to only write to GITHUB_OUTPUT
if the environment variable is defined, making it easier to run the
scripts locally.

close redhat-certification#388

Signed-off-by: mgoerens <[email protected]>
Copy link

@jsm84 jsm84 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@komish komish left a comment

Choose a reason for hiding this comment

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

/lgtm

Great, @mgoerens!

@komish komish merged commit 2ac8ee4 into redhat-certification:main Jul 27, 2023
5 checks passed
@mgoerens mgoerens deleted the rework_github_output branch July 31, 2023 08:19
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.

Remove the need to set GITHUB_OUTPUT to run python scripts
3 participants