We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3887542 + bace7e9 commit c152ca4Copy full SHA for c152ca4
.github/workflows/release.yml
@@ -36,7 +36,10 @@ jobs:
36
uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9
37
with:
38
toolchain: ${{ inputs.rust_toolchain }}
39
-
+
40
+ - name: Authenticate to crates.io (OIDC)
41
+ id: auth
42
+ uses: rust-lang/crates-io-auth-action@e919bc7605cde86df457cf5b93c5e103838bd879
43
- name: Derive version from Cargo.toml and create tag
44
id: version
45
shell: bash
@@ -57,6 +60,8 @@ jobs:
57
60
# Make sure the crate is configured on crates.io with a GitHub publisher link.
58
61
- name: Publish
59
62
run: cargo publish
63
+ env:
64
+ CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
65
66
release:
67
name: Create GitHub Release
0 commit comments