Skip to content

Set Environment Variable using Powershell #25713

Discussion options

You must be logged in to vote

Solved it, apparently I dont need to use Write-Host or echo before >>
just do
"VAR=TEST" >> $env:GITHUB_ENV

Replies: 3 comments 3 replies

Comment options

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

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@StephenHodgson
Comment options

@Talalgmel
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Product Feedback
4 participants