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 1ffeeca commit 64d6bfdCopy full SHA for 64d6bfd
.github/workflows/cratesio-release.yml
@@ -0,0 +1,18 @@
1
+# See https://crates.io/docs/trusted-publishing
2
+name: Publish to crates.io
3
+on:
4
+ push:
5
+ tags: ['v*'] # Triggers when pushing tags starting with 'v'
6
+jobs:
7
+ publish:
8
+ runs-on: ubuntu-24.04
9
+ permissions:
10
+ id-token: write # Required for OIDC token exchange
11
+ steps:
12
+ - uses: actions/checkout@v5
13
+ - uses: rust-lang/crates-io-auth-action@v1
14
+ id: auth
15
+ - run: cargo publish
16
+ env:
17
+ CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
18
+
0 commit comments