actions-marketplace-validations/Build and upload Rust binary to GitHub Releases

GitHub Action for building and uploading Rust binary to GitHub Releases

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 4, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/taiki-e_upload-rust-binary-action@10c1cf6a3da113ad4e60018e386570529aa5f1d3 # no releases — HEAD as of 2026-07-13

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

namedescriptionrequireddefault
binBinary names (non-extension portion of filename) to build and upload (whitespace or comma separated list). Note that glob pattern is not supported yet. yes
archiveArchive name (non-extension portion of filename) to be uploaded (variables `$bin`, `$target`, `$tag`, and any string)no$bin-$target
targetTarget name, default is host tripleno
featuresCargo build features to enable (space or comma separated list)no
no-default-featuresWhether to disable cargo build default featuresno
no_default_featuresAlias for 'no-default-features'nofalse
all-featuresWhether to build with `--all-features` flagnofalse
packagePackage names to build (whitespace or comma separated list)no
workspaceWhether to build with `--workspace` flagnofalse
lockedWhether to build with `--locked` flagnofalse
manifest-pathOverride cargo manifest pathno
manifest_pathAlias for 'manifest-path'no
tarOn which platform to distribute the `.tar.gz` file (all, unix, windows, or none)nounix
tar-xzOn which platform to distribute the `.tar.xz` file (all, unix, windows, or none)nonone
zipOn which platform to distribute the `.zip` file (all, unix, windows, or none)nowindows
includeAdditional files to be included to the archive (whitespace or comma separated list). Note that glob pattern is not supported yet. no
assetAdditional files to be uploaded separately (whitespace or comma separated list). Note that glob pattern is not supported yet. no
leading-dirWhether to create the leading directory in the archive or notno
leading_dirAlias for 'leading-dir'nofalse
bin-leading-dirCreate extra leading directory(s) for binary file(s) specified by 'bin' optionno
build-toolTool to build binaries (cargo, cross, or cargo-zigbuild)no
build_toolAlias for 'build-tool'no
checksumAlgorithms to be used for checksum (sha256, sha512, b2, sha1, or md5) (whitespace or comma separated list) Note: b2 is not available by default on macOS, install `b2sum` to use it. sha1 and md5 are insecure and strongly discouraged. no
tokenGitHub token for uploading assets to GitHub Releases. If not set this option, the GITHUB_TOKEN environment variable will be used. If not set both this option and the GITHUB_TOKEN environment variable, github.token will be used. no
refFully-formed tag ref for this release. If not set this option, the GITHUB_REF environment variable (automatically set by GitHub Actions) will be used. no
profileThe cargo profile to build. This defaults to the release profile.norelease
dry-runBuild and compress binaries, but do not upload them. Note that some errors are downgraded to warnings in this mode. no
dry-run-intendedSuppress informational warnings for `dru-run` keeping the rest nofalse
dry_runAlias for 'dry-run'nofalse
codesignSign build products using `codesign` on macOSno
codesign-prefixPrefix for the `codesign` identifier on macOSno
codesign_prefixAlias for 'codesign-prefix'no
codesign-optionsSpecifies a set of option flags to be embedded in the code signature on macOS. See the codesign manpage for details.no
codesign_optionsAlias for 'codesign-options'no
namedescription
archiveArchive base name
zip.zip archive file name
tar.tar.gz archive file name
tar-xz.tar.xz archive file name
b2BLAKE2 checksum file name
sha256SHA256 checksum file name
sha512SHA512 checksum file name
sha1SHA1 checksum file name
md5MD5 checksum file name