Merge remote-tracking branch 'origin/v1.1' into v1.1 #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'Rust/Cargo.toml' # The version number must be bumped in order to publish to crates.io | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
name: Publish Rust (crates.io) | |
jobs: | |
publish: | |
name: Publish to crates.io | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Install Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Publish to crates.io | |
run: cd Rust && cargo publish | |
env: | |
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |