name: Release
# Thin caller over jhheider/rust-ci's reusable release (lib-only publish path,
# added in rust-ci v1.7.0): no bin-name/targets, so the build/attach and tap
# jobs skip and only the crates.io publish runs. Publishing is public, so this
# runs on hosted runners (unlike ci/style/audit, which self-host for the private
# repo). Needs the CARGO_REGISTRY_TOKEN repo secret; cut a GitHub release to fire.
on:
release:
types:
permissions:
contents: write
jobs:
release:
uses: jhheider/rust-ci/.github/workflows/release.yml@v1
with:
publish-crates: true
crates: lean-embed
secrets: inherit