Uh oh!
There was an error while loading. Please reload this page.
example to echo out put from previous step fails - #528
Conversation
change - run: echo 'The selected color is' ${steps.random-color-generator.outputs.SELECTED_COLOR}
to - run: echo "The selected color is ${{ steps.random-color-generator.outputs.SELECTED_COLOR }}"
Other parts of the docs have it formatted this way. The error is a bash error: bad substitution.Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
janiceilene
commented
Oct 15, 2020
Thanks so much for opening a PR @bcbrian! I'll get this triaged and up for review ⚡ |
lucascosti
left a comment
There was a problem hiding this comment.
Great stuff, @bcbrian! 🚀
Thanks for fixing this, I'll get it merged when the tests from the rebase pass 👍
Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you haven't already, you can add yourself to the list of contributors by creating a new comment in this PR using these instructions. Thanks again! ✨ |
Why:
I copied and pasted this piece out of the docs and it did not work.
The error is a bash error: bad substitution.
Link to the change
What's being changed:
change -
run: echo 'The selected color is' ${steps.random-color-generator.outputs.SELECTED_COLOR}to -
run: echo "The selected color is ${{ steps.random-color-generator.outputs.SELECTED_COLOR }}"Other parts of the docs have it formatted this way.
Check off the following: