Skip to content

Publish

Publish #8

Workflow file for this run

name: Publish
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: dsherret/rust-toolchain-file@v1
- run: cargo install cargo-edit
- run: |
VERSION=${GITHUB_REF_NAME#?}
cargo set-version $VERSION
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CRATES_IO_TOKEN }}
args: --allow-dirty --no-verify