Skip to content

env.GITHUB_WORKSPACE not defined at job.env context, Does it make sense? #35739

Discussion options

You must be logged in to vote

Consider replacing env.GITHUB_WORKSPACE with github.workspace, then you are no longer using the not allowed context.

See docs https://docs.github.com/en/actions/learn-github-actions/contexts#github-context.

GITHUB_WORKSPACE is automatically created from the github context, but only for steps and I think you can never access it from the env context.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kuisathaverat
Comment options

Answer selected by kuisathaverat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants