Skip to content

Commit

Permalink
Add crates.io release to release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jackh726 committed Feb 1, 2024
1 parent 7f457a0 commit 8e5333e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Build project
run: |
rustup target add ${{ matrix.target }}
Expand All @@ -58,3 +63,8 @@ jobs:
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ github.workspace }}/${{ matrix.asset_name }}.zip
- name: Cargo publish
uses: katyo/publish-crates@v2
with:
path: './bigtools'
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit 8e5333e

Please # to comment.