Skip to content

Commit

Permalink
Create publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Natan Vieira do Nascimento committed Aug 19, 2023
1 parent a9f64dd commit 9d320dc
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Publish to Cargo Registry

on:
workflow_dispatch:
release:
types: [published]

jobs:
publish:
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit 9d320dc

Please sign in to comment.