dioxuslabs/Build and upload Rust binary to GitHub Releases
GitHub Action for building and uploading Rust binary to GitHub Releases
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| bin | Comma-separated list of binary names (non-extension portion of filename) to build and upload. Note that glob pattern is not supported yet. | yes | — |
| archive | Archive name (non-extension portion of filename) to be uploaded (variables `$bin`, `$target`, `$tag`, and any string) | no | $bin-$target |
| target | Target name, default is host triple | no | — |
| features | Comma-separated list of cargo build features to enable | no | — |
| no-default-features | Whether to disable cargo build default features | no | — |
| no_default_features | Alias for 'no-default-features' | no | false |
| manifest-path | Override cargo manifest path | no | — |
| manifest_path | Alias for 'manifest-path' | no | — |
| tar | On which platform to distribute the `.tar.gz` file (all, unix, windows, or none) | no | unix |
| zip | On which platform to distribute the `.zip` file (all, unix, windows, or none) | no | windows |
| include | Comma-separated list of additional files to be included to archive. Note that glob pattern is not supported yet. | no | — |
| asset | Comma-separated list of additional files to be uploaded separately. Note that glob pattern is not supported yet. | no | — |
| leading-dir | Whether to create the leading directory in the archive or not | no | — |
| leading_dir | Alias for 'leading-dir' | no | false |
| bin-leading-dir | Create extra leading directory(s) for binary file(s) specified by 'bin' option | no | — |
| build-tool | Tool to build binaries (cargo, cross, or cargo-zigbuild) | no | — |
| build_tool | Alias for 'build-tool' | no | — |
| checksum | Comma-separated list of algorithms to be used for checksum (sha256, sha512, sha1, or md5) | no | — |
| token | GitHub token for creating GitHub Releases. If not set this option, the GITHUB_TOKEN environment variable will be used. | no | — |
| ref | Fully-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 | — |
| profile | The cargo profile to build. This defaults to the release profile. | no | release |
| dry-run | Build and compress binaries, but do not upload them. Note that some errors are downgraded to warnings in this mode. | no | — |
| dry_run | Alias for 'dry-run' | no | false |
| codesign | Sign build products using `codesign` on macOS | no | — |
Outputs
no outputs