Skip to content

Commit c5935db

Browse files
authored
chore: infinite publish timeout (#4286)
Signed-off-by: Andrew Duffy <[email protected]>
1 parent 33088c2 commit c5935db

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.cargo/config.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,11 @@ rustflags = ['--cfg', 'getrandom_backend="wasm_js"', '-C', 'target-feature=+atom
99
[alias]
1010
xtask = "run -p xtask --"
1111
vx = "run -p vortex-tui --"
12+
13+
[publish]
14+
# NOTE(aduffy): we run into frequent issues auto-releasing our workspace
15+
# to crates.io, the default timeout = 60 seconds. Setting this to zero
16+
# means that it will block indefinitely and this config override is
17+
# necessary for using the -Zpublish-timeout setting.
18+
# See https://doc.rust-lang.org/beta/cargo/reference/unstable.html#publish-timeout
19+
timeout = 0

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
2727
- name: Release
2828
run: |
29-
cargo +nightly publish -Z package-workspace --no-verify --allow-dirty --workspace \
29+
cargo +nightly publish -Zpublish-timeout --no-verify --allow-dirty --workspace \
3030
--exclude bench-vortex \
3131
--exclude vortex-python \
3232
--exclude vortex-duckdb \

0 commit comments

Comments
 (0)