steps output

I run a step that sets an output, but the steps object is empty in the next step.

This is my test workflow https://github.com/rectalogic/test-actions/blob/master/.github/workflows/steps.yml

And this is the output:

https://github.com/rectalogic/test-actions/commit/5337662676d1bbaa710ae9829386dbc4474fafb1/checks

I can see the github-script is setting the output:

##[set-output name=result;]“Hello world”

2 Likes

Add id field to you step, see https://github.com/rusnasonov/vscode-hugo/blob/master/.github/workflows/build.yml

4 Likes