From 6f2eb0d01b1f33e59305ffec1af29a3b1e88285b Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 7 Sep 2023 13:19:27 -0700 Subject: [PATCH] Work around spurious network errors in curl 8.0 --- action.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/action.yml b/action.yml index 09df7ac..03aef0d 100644 --- a/action.yml +++ b/action.yml @@ -111,5 +111,13 @@ runs: fi shell: bash + - run: | + : work around spurious network errors in curl 8.0 + # https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/timeout.20investigation + if rustc +${{steps.parse.outputs.toolchain}} --version --verbose | grep -q '^release: 1\.7[01]\.'; then + echo CARGO_HTTP_MULTIPLEXING=false >> $GITHUB_ENV + fi + shell: bash + - run: rustc +${{steps.parse.outputs.toolchain}} --version --verbose shell: bash