Skip to content

How to alias environment variable in Github Actions #26358

Answered by airtower-luna
fbiville asked this question in Actions
Discussion options

You must be logged in to vote

I just tried, the env context doesn’t seem to work there. Specifically for GITHUB_WORKSPACE you have an alternative by using the github context:

    env:
        MY_ENV: ${{ github.workspace }}

Replies: 1 comment

Comment options

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