Unnamed repository; edit this file 'description' to name the repository.
use rustup minimal profile and add curl retries
Spencer 2022-09-11
parent ae57150 · commit 73d7599
-rw-r--r--.github/workflows/release.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index e71b692e7f..f4d472e3d5 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -66,7 +66,7 @@ jobs:
shell: bash
run: |
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
- name: Install Rust toolchain