lwmacct/Install GitHub Release Binary

Download, verify, extract, cache, and add a GitHub release binary to PATH

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
repositoryGitHub repository that publishes the release asset, in owner/repo format.yes
tagRelease tag to install. Use latest for the latest stable release or latest-prerelease for the latest prerelease.nolatest
github-tokenGitHub token used to read release metadata and download release assets.no${{ github.token }}
assetGlob pattern used to select the GitHub release asset. When omitted, the current runner OS and architecture are matched automatically.no
binaryGlob pattern used to select installed binaries. For archives, this matches one or more files inside the extracted asset.no
checksumOptional expected SHA256 checksum of the downloaded release asset. Accepts either sha256:<hex> or a bare hex digest.no
cacheSet to true to cache installations for fixed release tags. Uses checksum when provided, otherwise GitHub asset metadata.nofalse
resolveHow to resolve release assets: auto, metadata, or direct. direct skips GitHub release metadata and requires an exact asset name.noauto
renameRename the installed binary. Only supported when exactly one binary is installed.no
namedescription
release-tagResolved release tag.
asset-nameSelected release asset name.
install-dirDirectory where the asset was installed.
asset-pathPath to the cached original release asset.
bin-dirFirst directory added to PATH.
binary-pathFirst installed binary path.
bin-dirsJSON array of directories added to PATH.
binary-pathsJSON array of installed binary paths.
checksumSHA256 checksum of the downloaded release asset.
cache-hitWhether the installation was restored from cache.
release-download-urlLocal file URL root that mirrors GitHub release download layout.