Skip to content

Commit

Permalink
Fix crates.io publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
odarbelaeze committed Feb 6, 2024
1 parent 5e0344f commit 68b7ca6
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/crate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@ on:
release:
types: ["published"]

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 }}
jobs:
publish:
runs-on: ubuntu-latest
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 68b7ca6

Please sign in to comment.