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

Use process.env instead of core.exportvariable to set env #138

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

MoChilia
Copy link
Member

Since setting environment variable for agent is required in current process, there is no need to use core.exportVariable. See https://github.com/actions/toolkit/blob/main/packages/core/README.md#exporting-variables, core.exportVariable is used to add environment variable to this step and future steps environment blocks.

The same implementation as Azure/login#384.

@MoChilia MoChilia merged commit 4b557fa into Azure:master Feb 22, 2024
3 checks passed
@MoChilia MoChilia deleted the agentenv0222 branch February 22, 2024 08:24
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.

2 participants