klinki/github-actions-for-packages

Setting Environment Variable

Opened this issue · 0 comments

you can set environment variable with value which starts with $ using this
steps:
- shell: pwsh
run: |
echo 'action_state=$yellow' >> $GITHUB_ENV
- shell: pwsh
run: |
echo IT IS '${{ env.action_state }}'