Skip to content

Commit

Permalink
Add a CI workflow to publish new releases after a tag is pushed
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol committed May 29, 2024
1 parent f053741 commit 9d32749
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:
workflow_dispatch:
push:
tags:
- '*'

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Publish to crates.io
run: |
cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit 9d32749

Please sign in to comment.