Skip to content

Commit 6f2eb0d

Browse files
committed
Work around spurious network errors in curl 8.0
1 parent 7a26acb commit 6f2eb0d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,5 +111,13 @@ runs:
111111
fi
112112
shell: bash
113113
114+
- run: |
115+
: work around spurious network errors in curl 8.0
116+
# https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/timeout.20investigation
117+
if rustc +${{steps.parse.outputs.toolchain}} --version --verbose | grep -q '^release: 1\.7[01]\.'; then
118+
echo CARGO_HTTP_MULTIPLEXING=false >> $GITHUB_ENV
119+
fi
120+
shell: bash
121+
114122
- run: rustc +${{steps.parse.outputs.toolchain}} --version --verbose
115123
shell: bash

0 commit comments

Comments
 (0)