File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 persist-credentials : false
2727 - uses : rust-lang/crates-io-auth-action@bbd81622f20ce9e2dd9622e3218b975523e45bbe # v1.0.4
2828 id : auth
29+ - name : Install nightly toolchain
30+ # Nightly is required for the unstable `-Zpublish-timeout` flag, which lets us
31+ # raise the per-crate wait above the 60s default. crates.io indexing has been
32+ # known to lag long enough to exceed that during workspace publishes.
33+ run : rustup toolchain install nightly-2026-04-15 --profile minimal --no-self-update
2934 - name : Publish workspace crates
3035 # Note `--no-verify` is safe because we do a publish dry-run elsewhere in CI
31- run : cargo publish --workspace --no-verify
36+ run : cargo +nightly-2026-04-15 publish --workspace --no-verify -Zpublish-timeout --config 'publish.timeout=600'
3237 env :
3338 CARGO_REGISTRY_TOKEN : ${{ steps.auth.outputs.token }}
You can’t perform that action at this time.
0 commit comments