Skip to content

Commit

Permalink
Merge pull request #94 from dtolnay/httpmultiplexing
Browse files Browse the repository at this point in the history
Work around spurious network errors in curl 8.0
  • Loading branch information
dtolnay committed Sep 7, 2023
2 parents 7a26acb + 6f2eb0d commit 5cb429d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5cb429d

Please sign in to comment.