Skip to content

Commit 6fef5bf

Browse files
Enable trusted publishing (#686)
1 parent 5d3dc92 commit 6fef5bf

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Publish to crates.io
2+
on:
3+
workflow_dispatch:
4+
jobs:
5+
publish-crates:
6+
runs-on: ubuntu-latest
7+
permissions:
8+
id-token: write
9+
steps:
10+
- uses: actions/checkout@v6
11+
- uses: rust-lang/crates-io-auth-action@v1
12+
id: auth
13+
- run: |
14+
cargo publish -p ic-transport-types
15+
cargo publish -p ic-agent
16+
cargo publish -p ic-identity-hsm
17+
cargo publish -p ic-utils
18+
cargo publish -p icx
19+
cargo publish -p icx-cert
20+
env:
21+
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}

0 commit comments

Comments
 (0)