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 ef2d92a + ca4de5e commit c0c670eCopy full SHA for c0c670e
.github/workflows/rust-sdk-release.yml
@@ -0,0 +1,25 @@
1
+# SPDX-FileCopyrightText: © 2025 Phala Network <[email protected]>
2
+#
3
+# SPDX-License-Identifier: Apache-2.0
4
+
5
+name: Publish SDK to crates.io
6
+on:
7
+ push:
8
+ tags: ['rust-sdk-v*']
9
+jobs:
10
+ publish:
11
+ runs-on: ubuntu-latest
12
+ environment: sdk-release
13
+ permissions:
14
+ id-token: write
15
+ steps:
16
+ - uses: actions/checkout@v5
17
+ - uses: rust-lang/crates-io-auth-action@v1
18
+ id: auth
19
+ - run: cargo publish -p dstack-sdk-types
20
+ env:
21
+ CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
22
+ - run: cargo publish -p dstack-sdk
23
24
25
0 commit comments