-
Notifications
You must be signed in to change notification settings - Fork 123
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
Upgrade actions to node 20 #652
Conversation
Note that this upgrade's ONLY breaking change is dropping Node.js 16 in favor of Node.js 20: See https://github.com/actions/checkout/blob/v4/CHANGELOG.md#v400 Signed-off-by: Steven Kalt <[email protected]>
Note that the only breaking change in this update is dropping node.js 16 in favor of node.js 20: see https://github.com/actions/cache/blob/v4/RELEASES.md#400 Signed-off-by: Steven Kalt <[email protected]>
The only breaking change should be an upgrade to node.js 20: see actions/setup-node@v3...v4.0.2 Signed-off-by: Steven Kalt <[email protected]>
This is a trickier upgrade, since v4 of github's artifact-handling actions drop the ability to append to artifacts with the same name: see https://github.com/actions/upload-artifact/tree/552bf3722c16e81001aea7db72d8cedf64eb5f68?tab=readme-ov-file#v4---whats-new To work around the new naming restrictions, I invoke actions/download-artifact for each target and chuck the files into the expected directories. Signed-off-by: Steven Kalt <[email protected]>
90c0f6e
to
000ab70
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👋 Thanks for this!
One change, you can use the pattern
and merge-multiple
options for downloading multiple artifacts in one go: https://github.com/actions/download-artifact?tab=readme-ov-file#download-multiple-filtered-artifacts-to-the-same-directory
Saves us from having to enumerate the downloads 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hit the wrong option — see comment above
8b53f3a
to
8520485
Compare
Resolves #651 as much as possible: there are no newer versions of
jetli/wasm-pack-action
, andactions-rs/toolchain
was archived after v1.0.6.See the commit log for details about each actions' changelog.