Skip to content

Support saving environment variables between steps #26407

Answered by awmatheson
DaanDeMeyer asked this question in Actions
Discussion options

You must be logged in to vote

This is being deprecated due to a vulnerability - see https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

Now use:

echo "action_state=yellow" >> $GITHUB_ENV

Replies: 10 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@amano-takahisa
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
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
Labels
None yet
10 participants