From 73d759955f7f0e9a104346ac89174e15467c67bb Mon Sep 17 00:00:00 2001 From: Spencer Date: Sat, 10 Sep 2022 23:43:33 -0700 Subject: [PATCH] use rustup minimal profile and add curl retries --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e71b692e7f88..f4d472e3d5c1 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