Skip to content

Commit 529612b

Browse files
authored
Merge pull request #47 from Pagefind/cargo-trusted
Use trusted publishing for crates.io
2 parents 421a66a + d2afcca commit 529612b

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,9 @@ jobs:
435435
436436
- name: Build
437437
run: cargo build --release --verbose
438+
- name: Authenticate with crates.io
439+
id: crates-io-auth
440+
uses: rust-lang/crates-io-auth-action@v1
438441
- name: Publish Crate
439442
working-directory: ./toolproof
440443
run: |
@@ -444,4 +447,4 @@ jobs:
444447
cargo publish --allow-dirty
445448
fi
446449
env:
447-
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
450+
CARGO_REGISTRY_TOKEN: ${{ steps.crates-io-auth.outputs.token }}

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
## Unreleased
1111

12+
* No changes (CI release improvements)
13+
1214
## v0.17.1 (April 1, 2026)
1315

1416
* Fixed binary permissions when executing toolproof through npm

0 commit comments

Comments
 (0)