use rustup minimal profile and add curl retries
This commit is contained in:
parent
ae57150d0d
commit
73d759955f
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@ -66,7 +66,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
apt-get update && apt-get install -y build-essential curl
|
apt-get update && apt-get install -y build-essential curl
|
||||||
curl --proto '=https' --tlsv1.2 "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y
|
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --profile minimal --default-toolchain none -y
|
||||||
echo "${CARGO_HOME:-$HOME/.cargo}/bin" >> $GITHUB_PATH
|
echo "${CARGO_HOME:-$HOME/.cargo}/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Install Rust toolchain
|
- name: Install Rust toolchain
|
||||||
|
Loading…
Reference in New Issue
Block a user