asimov-platform/ASIMOV build rust action

Action to help automate building rust crates

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Jan 8, 2026
License
Public domain

Pinned Snippet

workflow.ymlSHA-pinned
uses: asimov-platform/build-rust-action@fe4d5b2a97e3288b1136890f4624e0140213c0b9 # v6

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

namedescriptionrequireddefault
targetTarget to build for.yes
profileProfile to build with. Defaults to release.norelease
glibc-versionVersion of GLIBC to link to. Only works on Linux and using zigbuild. Defaults to system default.no
gh-artifact-prefixPrefix for the output github artifact name. Defaults to empty string.no
artifact-prefixPrefix for the output artifact name. Defaults to empty string.no
artifact-suffixSuffix for the output artifact name. Defaults to target.no
artifact-nameName of the output artifact. Must be unique. Prepended with artifact-prefix and appended with artifact-suffix. Defaults to binary being built.no
packages-to-buildName of the packages to build, separated by space. Defaults to workspace's default-members that have at least one binary target.no
targets-to-buildName of the targets to build. Defaults to all binary targets in the packages-to-build.no
binary-extensionExtension for the output binary file. Defaults to empty string.no
working-directoryWorking directory. Defaults to root.no.
checkoutCheckout repository? Defaults to true.notrue
rust-toolchainRust toolchain to use. Defaults to stable.nostable
install-macos-sdkInstall MacOS SDK? Only works with zigbuild. Defaults to false.nofalse
use-zigbuildUse cargo-zigbuild? Defaults to false.nofalse
use-ndkUse cargo-ndk? Defaults to false.nofalse
extra-build-argumentsExtra arguments to pass to cargo build. Defaults to empty string.no""
strip-artifactStrip symbols? Defaults to false.nofalse
compress-artifactCompress artifact? Defaults to true.notrue
codesign-certBase64-encoded PKCS12 certificate for codesign tool. Only works on macOS. Defaults to empty string.no""
codesign-cert-passwordBase64-encoded password for the certificate. Defaults to empty string.no""
app-store-connect-api-keyBase64-encoded JSON-serialized App Store Connect API key. Only works on macOS. Defaults to empty string.no""
files-to-copyFiles to copy to the output directory (and upload). New line separated. Defaults to empty string.no""
pre-compress-passCode that will be executed before compressing the artifact. Defaults to empty string.no""
upload-artifactUpload artifact? Defaults to true.notrue
namedescription
target-dirPath to the build directory (target directory).
output-dirPath to the output directory (relative to the working directory).
output-pathsPaths to the output files separated by space (relative to the working directory).
artifact-idGitHub ID of an Artifact, can be used by the REST API.
artifact-urlURL to download an Artifact.