From 2dcd09945163c0238111c11138dd863f73066e78 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 4 Jun 2022 16:41:30 -0700 Subject: [PATCH] Move title of rustup install step into the run script --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index ef88cc5..990175e 100644 --- a/action.yml +++ b/action.yml @@ -31,8 +31,8 @@ runs: targets: ${{inputs.target}} components: ${{inputs.components}} shell: bash - - name: "Install rustup if needed" - run: | + - 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 echo "${CARGO_HOME:-~/.cargo}/bin" >> $GITHUB_PATH