Azure / cli

Automate your GitHub workflows using Azure CLI scripts
MIT License
124 stars 52 forks source link

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

Closed MoChilia closed 4 months ago

MoChilia commented 4 months ago

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 https://github.com/Azure/login/pull/384.