Skip to content

Commit

Permalink
Add release action (#739)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonwilliams authored Oct 2, 2020
1 parent 07ff7a8 commit 09a1296
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish Release
on:
release:
types: [published]

jobs:
publish:
runs-on: ubuntu-latest
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
steps:
- name: Git Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.sha }}
- run: cargo login ${CARGO_REGISTRY_TOKEN}
- run: cargo publish

0 comments on commit 09a1296

Please sign in to comment.