Merge pull request #150 from achanda/autopublish

Auto publish to crates.io on new tag push
This commit is contained in:
Abhishek Chanda
2022-04-13 22:59:50 -05:00
committed by GitHub

13
.github/workflows/publish.yml vendored Normal file
View File

@ -0,0 +1,13 @@
on:
push:
tags:
- 'v.*.*'
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 }}