Skip to content

Is it possible to references env variables inside env properties? #26241

Answered by mochadwi
mochadwi asked this question in Actions
Discussion options

You must be logged in to vote

When debugging, this seems not possible atm, therefore we use hardcoded string instead or manually export BUILD_VARIANT="${FLAVOUR}${TYPE}" this ways instead

As shown in the below images, it’s showing literal $FLAVOUR instead of the value dev

This is not works as well:

BUILD_VARIANT: ${{ FLAVOUR }}

BUILD_VARIANT: ${{ env.FLAVOUR }}

BUILD_VARIANT: ${{ $FLAVOUR }}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
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
2 participants