Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,12 @@ jobs:

runs-on: ubuntu-latest

environment: release

permissions:
Comment thread
KSXGitHub marked this conversation as resolved.
contents: read
id-token: write # needed for crates.io Trusted Publishing

steps:
- uses: actions/checkout@v6

Expand All @@ -479,11 +485,14 @@ jobs:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > $installer
bash $installer --default-toolchain $(cat rust-toolchain) -y

- name: Login
run: cargo login ${{ secrets.CRATE_AUTH_TOKEN }}
- name: Authenticate with crates.io
id: auth
uses: rust-lang/crates-io-auth-action@v1

- name: Publish
run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}

competing_benchmark:
name: Benchmark
Expand Down
Loading