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

Example of how to use this and get output of one or more lines to $GITHUB_OUTPUT #274

Open
banagale opened this issue Oct 7, 2023 · 4 comments · May be fixed by #287
Open

Example of how to use this and get output of one or more lines to $GITHUB_OUTPUT #274

banagale opened this issue Oct 7, 2023 · 4 comments · May be fixed by #287

Comments

@banagale
Copy link

banagale commented Oct 7, 2023

I'm trying to look at the output from one of my multiline scripts in a follow up job or step. If a particular string is found, then the workflow set to fail.

Is there a way to use the relatively new methods for defining output parameters using $GITHUB_OUTPUT? (docs)

If so, it would be great to see an example for ssh-actions including the outputs id and needs as in this example.

@banagale banagale changed the title Example of how to use this and get output of one or more lines to $GITHUB_OUTPUT Example of how to use this and get output of one or more lines to $GITHUB_OUTPUT Oct 7, 2023
@appleboy
Copy link
Owner

@banagale I will take it.

@banagale
Copy link
Author

Great, I have notifications turned on for this issue. Just lmk if i can test / review something.

@nelsonprsousa
Copy link

@appleboy Just out of curiosity, currently it is impossible to set some value from the bash (via SSH) to use on some other stage, right? Not sure if I am understanding this correctly.

Thank you!

@yaphet17
Copy link

@appleboy Can expect this feature soon?

@GammaGames GammaGames linked a pull request Jan 2, 2024 that will close this issue
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 a pull request may close this issue.

4 participants