Skip to content

Commit 09dd9da

Browse files
committed
ci: publish with cargo registry token
1 parent 15199df commit 09dd9da

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88

99
permissions:
1010
contents: read
11-
id-token: write
1211

1312
jobs:
1413
publish:
@@ -61,10 +60,7 @@ jobs:
6160
run: cargo rustdoc --all-features -- -D missing_docs
6261
- name: Dry run
6362
run: cargo publish --dry-run
64-
- name: Authenticate with crates.io
65-
id: auth
66-
uses: rust-lang/crates-io-auth-action@v1
6763
- name: Publish
6864
env:
69-
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
65+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
7066
run: cargo publish --no-verify

0 commit comments

Comments
 (0)