Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(gh-actions): set env via GITHUB_ENV instead of stdout #953

Merged
merged 3 commits into from
Nov 24, 2020

Conversation

yong-jie
Copy link
Member

Problem

Github actions has deprecated the feature of setting environment variables via stdout. A workaround of force-enabling it was made during last release, but should be removed whenever possible.

Closes #942

Solution

Grab the $GITHUB_ENV file from env and append environment variables to it, following the guide in the docs.

@yong-jie yong-jie merged commit 099ff9d into develop Nov 24, 2020
@yong-jie yong-jie deleted the ghactions-env branch November 24, 2020 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Github Actions: Use environment files instead of set-env to set environments
2 participants