Publish to crates.io from GitHub action too

pull/252/head 0.26.2
Wilfred Hughes 2022-04-10 13:07:03 +07:00
parent a43adb2f4b
commit 43c50ae1bb
1 changed files with 12 additions and 0 deletions

@ -6,6 +6,18 @@ on:
- "[0-9]+.*"
jobs:
push_crates_io:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v1
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
create-release:
runs-on: ubuntu-latest
steps: