Support x86_64 and non-Windows platforms with updating Node.js to 24#15
Open
sugahara-Faber wants to merge 6 commits intotofuutils:mainfrom
Open
Support x86_64 and non-Windows platforms with updating Node.js to 24#15sugahara-Faber wants to merge 6 commits intotofuutils:mainfrom
sugahara-Faber wants to merge 6 commits intotofuutils:mainfrom
Conversation
Signed-off-by: Masayuki Sugahara <masayuki.sugahara@fabercompany.co.jp>
Signed-off-by: Masayuki Sugahara <masayuki.sugahara@fabercompany.co.jp>
Signed-off-by: Masayuki Sugahara <masayuki.sugahara@fabercompany.co.jp>
Signed-off-by: Masayuki Sugahara <masayuki.sugahara@fabercompany.co.jp>
Signed-off-by: Masayuki Sugahara <masayuki.sugahara@fabercompany.co.jp>
Signed-off-by: Masayuki Sugahara <masayuki.sugahara@fabercompany.co.jp>
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.
This pull request updates the action to support newer Node.js versions and refines platform/architecture handling for improved compatibility. The main changes include switching to Node.js 24, updating dependencies, correcting architecture mappings, and improving platform-specific build selection and extraction logic.
Platform and architecture compatibility improvements:
mapArchto usex86_64instead ofamd64for x64, ensuring consistency with release asset naming conventions.getBuildto use the correct archive extension (zipfor Windows,tar.gzfor others), and improved logging by replacingconsole.logwithcore.infoandcore.debug.Action runtime and dependency updates:
action.ymlfor better performance and compatibility.package.json, including@actions/core,@actions/io, andhuskyto their latest versions.Release asset extraction logic:
tc.extractZiptotc.extractTarto correctly handle.tar.gzfiles.Logging improvements:
console.logstatements withcore.debugfor build arrays andcore.infofor required asset names inlib/releases.js. [1] [2]