rust-build/Rust Release binary
Automate publishing Rust build artifacts for GitHub releases through GitHub Actions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| RUSTTARGET | Output target | yes | — |
| EXTRA_FILES | List of extra files to include in build | no | — |
| SRC_DIR | Path to directory containing Cargo.toml (defaults to project root) | no | — |
| ARCHIVE_TYPES | List of archive types to publish the binaries with, default "zip", supports zip and all tar formats | no | — |
| ARCHIVE_NAME | Full name of archive to upload (you must specify file extension and change this if building multiple targets) | no | — |
| PRE_BUILD | Relative path of script to run before building | no | — |
| POST_BUILD | Relative path of script to run after building | no | — |
| MINIFY | If set to "true", the resulting binary will be stripped and compressed by UPX. ("false" by default) | no | — |
| TOOLCHAIN_VERSION | The rust toolchain version to use (see https://rust-lang.github.io/rustup/concepts/toolchains.html#toolchain-specification) | no | — |
| UPLOAD_MODE | What method to use to upload compiled binaries, supported values: (release, none), default: release | no | — |
| STATIC_LINKING | Whether to statically link dependencies | no | — |
| EXTRA_COMMAND_FLAGS | Extra flags to give to cargo build (space separated) | no | — |
| EXTRA_FEATURES | Extra features to enable for the build | no | — |
| FEATURES | Features to enable for the build (implies --no-default-features) | no | — |
Outputs
| name | description |
|---|---|
| BUILT_ARCHIVE | Relative path to the archive containing compiled program |
| BUILT_CHECKSUM | Relative path to the checksum of the archive |