From b051cf32dc376218c16b34eeb9dd678ad19c1795 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 19 Jun 2023 10:58:08 -0700 Subject: [PATCH] Expand curl flags --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 63b7096..68bd1d6 100644 --- a/action.yml +++ b/action.yml @@ -62,7 +62,7 @@ runs: - run: | : install rustup if needed 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 fi if: runner.os != 'Windows'