Update dependencies for Node 24 and artifact v7 compatibility#42
Open
Mitchell (mitchdz) wants to merge 3 commits intocloudposse:mainfrom
Open
Update dependencies for Node 24 and artifact v7 compatibility#42Mitchell (mitchdz) wants to merge 3 commits intocloudposse:mainfrom
Mitchell (mitchdz) wants to merge 3 commits intocloudposse:mainfrom
Conversation
Bump download-artifact from v4 to v7 to support the new GitHub > artifact backend. Bump install-jq-action from v2.1.0 to v3.0.0 > and jq from 1.6 to 1.7 to resolve the Buffer() deprecation > warning under Node 24 runners. > Signed-off-by: mdzurick <mitch_dz@hotmail.com>
Signed-off-by: mdzurick <mitch_dz@hotmail.com>
This reverts commit 237bec6.
|
Hi, is there any update on this? As the date where node 20 is deprecated is fast approaching! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
what
actions/download-artifactfromv4tov7dcarbone/install-jq-actionfromv2.1.0tov3.0.01.6to1.7why
actions/download-artifact@v4cannot download artifacts uploaded byactions/upload-artifact@v7or by other actions using@actions/artifactSDK v2.3+, causing "Artifact download failed after 5retries" errors. Bumping to
v7restores compatibility.dcarbone/install-jq-action@v2.1.0uses deprecatedBuffer()constructor, producing[DEP0005] DeprecationWarningunder Node 24 runners. v3.0.0 resolves this.references
Testing
I tested this version in our production workflow here :