Skip to content

v0.2.17rc1

v0.2.17rc1 #19

Workflow file for this run

name: Prepare release to crates.io
on:
release:
types: [published]
workflow_dispatch:
jobs:
publish-crate:
name: Publish Crate
if: '!github.event.prerelease'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
# - name: Login to Crates.io
# run: cargo login ${{ secrets.CRATES_IO_TOKEN }}
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CRATES_IO_TOKEN }}
# - name: Publish
# uses: actions-rs/cargo@v1
# with:
# command: publish