Skip to content

Publish to crates.io #6

Publish to crates.io

Publish to crates.io #6

Workflow file for this run

name: Publish to crates.io
on:
release:
types: [released]
jobs:
publish:
name: publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login
uses: actions-rs/cargo@v1
with:
command: login
args: ${{ secrets.CRATES_IO_API_TOKEN }}
- name: Publish
uses: actions-rs/cargo@v1
with:
command: publish