Skip to content

Commit db010ec

Browse files
committed
fix(ci): configure crates.io trusted publishing
1 parent 1f5a7ef commit db010ec

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,10 @@ jobs:
2828
TAG=${GITHUB_REF_NAME}
2929
test "$VERSION" = "$TAG"
3030
31+
- id: auth
32+
uses: rust-lang/crates-io-auth-action@v1
33+
3134
- name: Publish
3235
run: cargo publish --locked
36+
env:
37+
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}

0 commit comments

Comments
 (0)