Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.

GitHub Action: Avoid issues with set-env used by older versions of setup actions #157

Merged
merged 1 commit into from
Jan 4, 2021

Conversation

Krenair
Copy link
Contributor

@Krenair Krenair commented Nov 17, 2020

https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
contains:
Action authors who are using the toolkit should update the @actions/core package to v1.2.6 or greater to get the updated addPath and exportVariable functions.
and
Action and workflow authors who are setting environment variables via STDOUT should update any usage of the set-env and add-path workflow commands to use the new environment files.

Which setup-node appear to have done in actions/setup-node#200 - the commits for which have been tagged v2.1.2.
And which setup-ruby appear to have done in ruby/setup-ruby#91 - the commits for which have been tagged v1.46.1.

@Krenair
Copy link
Contributor Author

Krenair commented Nov 17, 2020

…tup actions

https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
contains:
`Action authors who are using the toolkit should update the @actions/core package to v1.2.6 or greater to get the updated addPath and exportVariable functions.`
and
`Action and workflow authors who are setting environment variables via STDOUT should update any usage of the set-env and add-path workflow commands to use the new environment files.`

Which setup-node appear to have done in actions/setup-node#200 - the commits for which have been tagged v2.1.2.
And which setup-ruby appear to have done in ruby/setup-ruby#91 - the commits for which have been tagged v1.46.1.
@Krenair Krenair changed the title GitHub Action: Avoid issues with set-env used by older versions of setup-node GitHub Action: Avoid issues with set-env used by older versions of setup actions Nov 17, 2020
Copy link
Contributor

@cbaines cbaines left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds OK 👍

@Krenair Krenair merged commit 0dbaa5b into main Jan 4, 2021
@Krenair Krenair deleted the setup-node-set-env branch January 4, 2021 13:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants