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.
1 parent 59c7fd9 commit c7f81c7Copy full SHA for c7f81c7
.github/workflows/release.yml
@@ -9,6 +9,21 @@ on:
9
permissions: {}
10
11
jobs:
12
+ publish:
13
+ runs-on: ubuntu-latest
14
+ environment: release
15
+ permissions:
16
+ id-token: write # Required for OIDC token exchange
17
+ steps:
18
+ - uses: actions/checkout@v5
19
+ with:
20
+ persist-credentials: false
21
+ - uses: rust-lang/crates-io-auth-action@e919bc7605cde86df457cf5b93c5e103838bd879
22
+ id: auth
23
+ - run: cargo publish
24
+ env:
25
+ CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
26
+
27
# The create-release job runs purely to initialize the GitHub release itself,
28
# and names the release after the `x.y.z` tag that was pushed. It's separate
29
# from building the release so that we only create the release once.
0 commit comments