Browse Source

Add release action (#739)

pull/765/head
Jason Williams 4 years ago committed by GitHub
parent
commit
09a1296ee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      .github/workflows/release.yml

17
.github/workflows/release.yml

@ -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
Loading…
Cancel
Save