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

Change environment variable setting in build workflow #727

Merged
merged 1 commit into from
Oct 11, 2020

Conversation

Hamayama
Copy link
Contributor

GitHub Actions で、環境変数の更新方法が変わったようで、
実行結果に warning が表示されるようになったため、対応しました。

( ::set-env コマンドが deprecated になって、
環境変数ファイル ($GITHUB_ENV) に "NAME=VALUE" という形式で文字列を追記すると、
環境変数が更新されるようになりました。(セキュリティ関連の変更?))

<参考URL>
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

<テスト結果>
https://github.com/Hamayama/Gauche/actions/runs/300033478

@shirok
Copy link
Owner

shirok commented Oct 11, 2020

Mahalo!

@shirok shirok merged commit d802a60 into shirok:master Oct 11, 2020
@Hamayama Hamayama deleted the actions16 branch July 13, 2024 04:34
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.

None yet

2 participants