Skip to content

Publish

Publish #1

Workflow file for this run

name: "Publish"
on:
workflow_dispatch:
release:
types: [ "published" ]
jobs:
publish-cratesio:
runs-on: ubuntu-22.04
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: Publish crates.io Package
run: cargo publish --token ${CRATES_AUTH_TOKEN}
env:
CRATES_AUTH_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}