File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 workflow_dispatch :
55 push :
66 tags :
7- - ' v* '
7+ - " v* "
88
99jobs :
1010 publish :
1111 runs-on : ubuntu-latest
1212 # environment: release # Optional: for enhanced security
1313 permissions :
14- id-token : write # Required for OIDC token exchange
14+ id-token : write # Required for OIDC token exchange
1515 steps :
16- - uses : actions/checkout@v4
17- - uses : rust-lang/crates-io-auth-action@v1
18- if : github.ref_type == 'tag'
19- id : auth
20- - uses : katyo/publish-crates@v2
21- with :
22- registry-token : ${{ steps.auth.outputs.token }}
23- dry-run : ${{ github.ref_type != 'tag' }}
24- ignore-unpublished-changes : true
16+ - uses : actions/checkout@v6
17+ - uses : rust-lang/crates-io-auth-action@v1
18+ id : auth
19+ - name : Publish Crates
20+ run : ./publish-all.sh
21+ env :
22+ CARGO_REGISTRY_TOKEN : ${{ steps.auth.outputs.token }}
You can’t perform that action at this time.
0 commit comments