Skip to content

Commit

Permalink
chore(release): add release workflow (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun authored Jul 31, 2024
1 parent 8d93aa9 commit 3989310
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Release

on:
release:
types:
- published
workflow_dispatch:

jobs:
publish:
name: Publish on crates.io
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
- name: Publish
run: cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit 3989310

Please sign in to comment.