Skip to content

Commit

Permalink
CI: publish to crates.io
Browse files Browse the repository at this point in the history
  • Loading branch information
emturner committed Mar 13, 2023
1 parent aec1c8e commit 0ccad1a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: publish

on:
push:
tags:
- '*'

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/[email protected]
- name: dry-run
run: cargo publish --dry-run
- name: publish
run: cargo publish --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}

0 comments on commit 0ccad1a

Please sign in to comment.