Skip to content

Commit

Permalink
Publish to crates.io from GitHub action too
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Apr 10, 2022
1 parent a43adb2 commit 43c50ae
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ on:
- "[0-9]+.*"

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

create-release:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 43c50ae

Please sign in to comment.