Skip to content

Commit

Permalink
ci: auto publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
AH-dark committed Jun 25, 2024
1 parent b71f3fe commit 370b881
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 to Crates.io

on:
push:
tags:
- "*"
workflow_dispatch:

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4

- run: cargo publish --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}

0 comments on commit 370b881

Please sign in to comment.