Closed
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
What part(s) of the article would you like to see updated?
I would like the example within Defining environment variables for a single workflow to be updated to use accurate syntax.
Additional information
I received an "Invalid workflow file" error when I tried to use the presented syntax while running ubuntu-22.04, which I believe is ubuntu-latest.

I tried:
$DESTINATION_REPO
"$DESTINATION_REPO"
${{ $DESTINATION_REPO }}
And got the same error each time. Only ${{ env.DESTINATION_REPO }}
worked.
Activity