Skip to content

Swap to env files#200

Merged
thboop merged 4 commits into
mainfrom
swapToEnvFiles
Oct 1, 2020
Merged

Swap to env files#200
thboop merged 4 commits into
mainfrom
swapToEnvFiles

Conversation

@thboop

@thboop thboop commented Sep 29, 2020

Copy link
Copy Markdown
Contributor

The newest toolkit version uses Environment files to communicate with the Runner. This pr moves towards the new way of communicating with the runner and updates the toolkit version if appropriate.

@thboop thboop force-pushed the swapToEnvFiles branch 2 times, most recently from c910bc0 to 13d38a5 Compare September 29, 2020 16:39
@bryanmacfarlane

Copy link
Copy Markdown
Contributor

Probably good to bump the minimum here to ^1.2.6 https://github.com/actions/setup-node/blob/main/package.json#L26

@bryanmacfarlane

Copy link
Copy Markdown
Contributor

Outside of that, looks good.

@bryanmacfarlane bryanmacfarlane left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

feel free to merge after the suggested change

@thboop thboop merged commit c6fd00c into main Oct 1, 2020
@thboop thboop deleted the swapToEnvFiles branch October 1, 2020 16:03
tcamde added a commit to tcamde/setup-node that referenced this pull request Oct 6, 2020
Krenair added a commit to alphagov/re-rotas that referenced this pull request Nov 17, 2020
…tup-node

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.
Krenair added a commit to alphagov/re-rotas that referenced this pull request 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.
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