-
Notifications
You must be signed in to change notification settings - Fork 60.3k
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 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. |
Thanks so much for opening a PR @bcbrian! I'll get this triaged and up for review ⚡ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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: