Repository navigation
Support tar.gz binarySource - #5
Merged
Merged
Conversation
gauron99
force-pushed
the
push-sqosurmnusoo
branch
from
November 17, 2026 11:07
6eeb4d2 to
9215da8
Compare
gauron99
force-pushed
the
push-sqosurmnusoo
branch
from
November 18, 2026 06:40
9215da8 to
2d21c17
Compare
…ySubpath After the download, the action checks the file's first two bytes. The gzip magic (1f 8b) means a tar.gz, since no func binary (ELF, Mach-O, PE) starts with it, so this works for any URL, with or without a .tar.gz suffix. New input binarySubpath: path of the binary inside the archive. It has no default, as archives name the binary differently. The action fails if a tar.gz comes without binarySubpath, if binarySubpath comes with a plain binary, or if binarySubpath does not name a file inside the archive (a path that leaves it, like ../x, counts as not found). The download and the unpacking happen in a temp folder, and only the final binary is copied to its destination, so a failed run leaves nothing there. tar runs with relative names, so a GNU tar on Windows never reads the drive letter of a path as a remote host. CI: one job packs a release binary on Linux, macOS and Windows and installs it through a file:// URL; another runs the three error cases and checks that they leave no func behind.
v5 moved to Node 24, v6 stores credentials in a separate file, v7 blocks fork PR checkouts on pull_request_target and workflow_run. None of these affect this workflow, which runs on pull_request and workflow_dispatch.
gauron99
force-pushed
the
push-sqosurmnusoo
branch
2 times, most recently
from
November 19, 2026 16:44
0f97a2a to
ba52931
Compare
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.
binarySourcecan point to a tar.gz; newbinarySubpathinput names the binary inside it (detected by content, not URL)actions/checkoutv4 -> v7 in the test workflow🤖 Generated with Claude Code