ssh-action icon indicating copy to clipboard operation
ssh-action copied to clipboard

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

Open banagale opened this issue 1 year ago • 4 comments

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 avatar Oct 07 '23 07:10 banagale

@banagale I will take it.

appleboy avatar Oct 26 '23 12:10 appleboy

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

banagale avatar Oct 26 '23 16:10 banagale

@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!

nelsonprsousa avatar Dec 05 '23 01:12 nelsonprsousa

@appleboy Can expect this feature soon?

yaphet17 avatar Dec 14 '23 20:12 yaphet17