action-stars/Install Tool From GitHub Release

Installs a tool from a GitHub repository release.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 17, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: action-stars/install-tool-from-github-release@1fa61c3bea52eca3bcdb1f5c961a3b113fe7fa54 # v0.2.6

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github_tokenGitHub token to use for authentication.yes
ownerGitHub repository owner.yes
repositoryGitHub repository.yes
nameName of the tool being installed, if not set this will default to the repository. This can be used in the filename format as {name}no
tag_prefixVersion tag prefix.nov
arch_amd64Architecture string for AMD64. This can be used in the filename format as {arch}.noamd64
arch_arm64Architecture string for ARM64. This can be used in the filename format as {arch}.noarm64
os_linuxOS name when the platform is Linux. This can be used in the filename format as {os}.nolinux
os_macosOS name when the platform is macOS. This can be used in the filename format as {os}.nomacos
os_windowsOS name when the platform is Windows. This can be used in the filename format as {os}.nowindows
extractIf the download needs extracting.notrue
subdirectorySubdirectory within the archive to find the executable(s).no
extract_mode_linuxExtraction mode when the runner platform is Linux; one of tar.gz, zip, 7z, or xar. This can be used in the filename format as {ext}.notar.gz
extract_mode_macosExtraction mode when the platform is macOS; one of tar.gz, zip, 7z, or xar. This can be used in the filename format as {ext}.notar.gz
extract_mode_windowsExtraction mode when the platform is Windows; one of tar.gz, zip, 7z, or xar. This can be used in the filename format as {ext}.nozip
filename_formatFilename format to use if platform specific format hasn't been provided.no{name}_{version}_{os}_{arch}.{ext}
filename_format_linuxFilename format to use when the platform is Linux.no
filename_format_macosFilename format to use when the platform is macOS.no
filename_format_windowsFilename format to use when the platform is Windows.no
renameRename a tool after it is installed; `<before>=<after>`.no
aliasAlias a tool after it is installed; `<target>=<alias>`.no
check_commandCommand to test if the tool was installed correctly.no
versionVersion of the GitHub release to lookup; latest is supported.nolatest

no outputs