Skip to content

Unable to read variable set by set-env in github action #26093

Discussion options

You must be logged in to vote
gautamkrishnar:
        with:
          tag_name: ${{ pkg_version }}
          release_name: ${{ pkg_version }}

You need to reference the env context to read environment variables outside the shell:

        with:
          tag_name: ${{ env.pkg_version }}
          release_name: ${{ env.pkg_version }}

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants