asimov-platform/ASIMOV build rust action
Action to help automate building rust crates
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Jan 8, 2026
- License
- Public domain
Pinned Snippet
uses: asimov-platform/build-rust-action@fe4d5b2a97e3288b1136890f4624e0140213c0b9 # v6tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| target | Target to build for. | yes | — |
| profile | Profile to build with. Defaults to release. | no | release |
| glibc-version | Version of GLIBC to link to. Only works on Linux and using zigbuild. Defaults to system default. | no | — |
| gh-artifact-prefix | Prefix for the output github artifact name. Defaults to empty string. | no | — |
| artifact-prefix | Prefix for the output artifact name. Defaults to empty string. | no | — |
| artifact-suffix | Suffix for the output artifact name. Defaults to target. | no | — |
| artifact-name | Name of the output artifact. Must be unique. Prepended with artifact-prefix and appended with artifact-suffix. Defaults to binary being built. | no | — |
| packages-to-build | Name of the packages to build, separated by space. Defaults to workspace's default-members that have at least one binary target. | no | — |
| targets-to-build | Name of the targets to build. Defaults to all binary targets in the packages-to-build. | no | — |
| binary-extension | Extension for the output binary file. Defaults to empty string. | no | — |
| working-directory | Working directory. Defaults to root. | no | . |
| checkout | Checkout repository? Defaults to true. | no | true |
| rust-toolchain | Rust toolchain to use. Defaults to stable. | no | stable |
| install-macos-sdk | Install MacOS SDK? Only works with zigbuild. Defaults to false. | no | false |
| use-zigbuild | Use cargo-zigbuild? Defaults to false. | no | false |
| use-ndk | Use cargo-ndk? Defaults to false. | no | false |
| extra-build-arguments | Extra arguments to pass to cargo build. Defaults to empty string. | no | "" |
| strip-artifact | Strip symbols? Defaults to false. | no | false |
| compress-artifact | Compress artifact? Defaults to true. | no | true |
| codesign-cert | Base64-encoded PKCS12 certificate for codesign tool. Only works on macOS. Defaults to empty string. | no | "" |
| codesign-cert-password | Base64-encoded password for the certificate. Defaults to empty string. | no | "" |
| app-store-connect-api-key | Base64-encoded JSON-serialized App Store Connect API key. Only works on macOS. Defaults to empty string. | no | "" |
| files-to-copy | Files to copy to the output directory (and upload). New line separated. Defaults to empty string. | no | "" |
| pre-compress-pass | Code that will be executed before compressing the artifact. Defaults to empty string. | no | "" |
| upload-artifact | Upload artifact? Defaults to true. | no | true |
Outputs
| name | description |
|---|---|
| target-dir | Path to the build directory (target directory). |
| output-dir | Path to the output directory (relative to the working directory). |
| output-paths | Paths to the output files separated by space (relative to the working directory). |
| artifact-id | GitHub ID of an Artifact, can be used by the REST API. |
| artifact-url | URL to download an Artifact. |