Switch to GH Actions and bump crate version

This commit is contained in:
Richard Bradfield 2020-06-02 12:16:32 +01:00
parent a117792572
commit 2c5dadba8d
No known key found for this signature in database
GPG key ID: 0A10CE15CBC4A23F
4 changed files with 121 additions and 11 deletions

24
.github/workflows/publish.yml vendored Normal file
View file

@ -0,0 +1,24 @@
on:
release:
types: [published]
name: Publish
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: login
args: -- ${{secrets.CARGO_TOKEN}}
- uses: actions-rs/cargo@v1
with:
command: publish