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 819d113 commit b7e3a98Copy full SHA for b7e3a98
.github/workflows/publish.yml
@@ -0,0 +1,24 @@
1
+name: Publish to Crates.io
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout Repository
13
+ uses: actions/checkout@v4
14
15
+ - name: Install Rust Toolchain
16
+ uses: dtolnay/rust-toolchain@stable
17
18
+ - name: Install cargo-workspaces
19
+ run: cargo install cargo-workspaces
20
21
+ - name: Publish to Crates.io
22
+ env:
23
+ CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
24
+ run: cargo workspaces publish --no-git-commit --publish-as-is --token $CARGO_REGISTRY_TOKEN
0 commit comments