Skip to content

Workflow file for this run

name: Publish Crate to crates.io
on:
release:
types: [published]
jobs:
publish-crate:
name: Publish Crate to crates.io
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Publish crate to crates.io
run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}