ci: add release packaging

This commit is contained in:
objz committed 2026-04-26 21:22:01 +02:00
1 parent 33b2d856bc
commit 441607f0da
18 files changed
+1056 -208

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
name: publish crates
on:
workflow_call:
inputs:
plan:
required: true
type: string
permissions:
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
ref: ${{ fromJson(inputs.plan).announcement_tag }}
- name: install Rust
uses: dtolnay/rust-toolchain@stable
- name: publish to crates.io
run: cargo publish --allow-dirty
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}