about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSpencer <spencer@sf-n.com>2022-09-10 23:43:33 -0700
committerGitHub <noreply@github.com>2022-09-10 23:43:33 -0700
commit73d759955f7f0e9a104346ac89174e15467c67bb (patch)
treef05b722eaaea627a1097d86790a7884e8a2c873d
parentae57150d0d2e3171ee1954f2739956ee1621737f (diff)
downloadrust-73d759955f7f0e9a104346ac89174e15467c67bb.tar.gz
rust-73d759955f7f0e9a104346ac89174e15467c67bb.zip
use rustup minimal profile and add curl retries
-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 e71b692e7f8..f4d472e3d5c 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