mirror of
https://github.com/dtolnay/rust-toolchain.git
synced 2024-12-22 15:45:50 +02:00
Expand curl flags
This commit is contained in:
parent
b44cb146d0
commit
b051cf32dc
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ runs:
|
||||||
- run: |
|
- run: |
|
||||||
: install rustup if needed
|
: install rustup if needed
|
||||||
if ! command -v rustup &>/dev/null; then
|
if ! command -v rustup &>/dev/null; then
|
||||||
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y
|
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused --location --silent --show-error --fail "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y
|
||||||
echo "${CARGO_HOME:-$HOME/.cargo}/bin" >> $GITHUB_PATH
|
echo "${CARGO_HOME:-$HOME/.cargo}/bin" >> $GITHUB_PATH
|
||||||
fi
|
fi
|
||||||
if: runner.os != 'Windows'
|
if: runner.os != 'Windows'
|
||||||
|
|
Loading…
Reference in a new issue