From 1c10d9b9ac460fdfd554fa1c02550ed7f2a2fd45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Mon, 4 Sep 2023 15:09:01 +0200 Subject: [PATCH] Set `rust-version` as the default toolchain --- setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.sh b/setup.sh index f478fb9..d5dffc0 100755 --- a/setup.sh +++ b/setup.sh @@ -13,6 +13,7 @@ args=() [[ -n "${INPUT_TARGETS}" ]] && args+=(-t "${INPUT_TARGETS// /}") rustup toolchain install "${INPUT_RUST_VERSION}" "${args[@]}" +rustup default "${INPUT_RUST_VERSION}" # shellcheck disable=SC2129 echo "rustup_version=$(rustup --version)" >> $GITHUB_OUTPUT