This repository was archived by the owner on Jun 16, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 - " v*"
1212 workflow_dispatch :
1313
14- permissions :
15- contents : write
16- id-token : write
17- packages : read
18-
1914jobs :
2015 release :
2116 name : Release
2217 runs-on : ubuntu-latest
2318 environment : cratesio
19+ permissions :
20+ contents : write
21+ id-token : write
22+ packages : read
2423 steps :
2524 - name : Checkout
2625 uses : actions/checkout@v6
@@ -56,18 +55,23 @@ jobs:
5655 - name : Publish recoco-utils
5756 run : cargo publish -p recoco-utils
5857 env :
59- CARGO_REGISTRY_TOKEN : ${{ steps.auth.outputs.CARGO_REGISTRY_TOKEN }}
58+ CARGO_REGISTRY_TOKEN : ${{ steps.auth.outputs.token }}
6059
6160 - name : Publish recoco-splitters
6261 run : cargo publish -p recoco-splitters
6362 env :
64- CARGO_REGISTRY_TOKEN : ${{ steps.auth.outputs.CARGO_REGISTRY_TOKEN }}
63+ CARGO_REGISTRY_TOKEN : ${{ steps.auth.outputs.token }}
6564
6665 # Wait a bit for dependencies to propagate in the registry
6766 - name : Wait for propagation
6867 run : sleep 30
6968
69+ # get a new token to be safe
70+ - name : Get auth token
71+ id : auth2
72+ uses : rust-lang/crates-io-auth-action@v1
73+
7074 - name : Publish recoco
7175 run : cargo publish -p recoco
7276 env :
73- CARGO_REGISTRY_TOKEN : ${{ steps.auth .outputs.CARGO_REGISTRY_TOKEN }}
77+ CARGO_REGISTRY_TOKEN : ${{ steps.auth2 .outputs.token }}
You can’t perform that action at this time.
0 commit comments