ci: fixed aur checksums and workflows

This commit is contained in:
objz committed 2026-04-27 12:32:31 +02:00
1 parent ec378b0b59
commit 3d8b3deb74
6 files changed
+141 -59

No files matched your search

+19 -1
View File
@@ -1,11 +1,24 @@
name: publish crates
on:
workflow_dispatch:
inputs:
plan:
required: true
type: string
dry_run:
required: false
type: boolean
default: true
workflow_call:
inputs:
plan:
required: true
type: string
dry_run:
required: false
type: boolean
default: false
permissions:
contents: read
@@ -23,6 +36,11 @@ jobs:
uses: dtolnay/rust-toolchain@stable
- name: publish to crates.io
run: cargo publish --allow-dirty
run: |
if [ "${{ inputs.dry_run }}" = "true" ]; then
cargo publish --allow-dirty --dry-run
else
cargo publish --allow-dirty
fi
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}