Skip to content

update for allow-dirty (#6) #21

update for allow-dirty (#6)

update for allow-dirty (#6) #21

Workflow file for this run

name: Publish to crates.io
on:
push:
branches:
- master # Trigger on push to master branch
tags:
- 'v*' # Trigger when any tag is pushed
jobs:
publish:
runs-on: ubuntu-latest
environment: CARGO_REGISTRY_TOKEN
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Publish to crates.io
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
run: cargo publish --allow-dirty