rust-build/Rust Release binary

Automate publishing Rust build artifacts for GitHub releases through GitHub Actions

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
RUSTTARGETOutput targetyes
EXTRA_FILESList of extra files to include in buildno
SRC_DIRPath to directory containing Cargo.toml (defaults to project root)no
ARCHIVE_TYPESList of archive types to publish the binaries with, default "zip", supports zip and all tar formatsno
ARCHIVE_NAMEFull name of archive to upload (you must specify file extension and change this if building multiple targets)no
PRE_BUILDRelative path of script to run before buildingno
POST_BUILDRelative path of script to run after buildingno
MINIFYIf set to "true", the resulting binary will be stripped and compressed by UPX. ("false" by default)no
TOOLCHAIN_VERSIONThe rust toolchain version to use (see https://rust-lang.github.io/rustup/concepts/toolchains.html#toolchain-specification)no
UPLOAD_MODEWhat method to use to upload compiled binaries, supported values: (release, none), default: releaseno
STATIC_LINKINGWhether to statically link dependenciesno
EXTRA_COMMAND_FLAGSExtra flags to give to cargo build (space separated)no
EXTRA_FEATURESExtra features to enable for the buildno
FEATURESFeatures to enable for the build (implies --no-default-features)no
namedescription
BUILT_ARCHIVERelative path to the archive containing compiled program
BUILT_CHECKSUMRelative path to the checksum of the archive