Skip to content

Commit 1c10d9b

Browse files
committed
Set rust-version as the default toolchain
1 parent d36bd21 commit 1c10d9b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

setup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ args=()
1313
[[ -n "${INPUT_TARGETS}" ]] && args+=(-t "${INPUT_TARGETS// /}")
1414

1515
rustup toolchain install "${INPUT_RUST_VERSION}" "${args[@]}"
16+
rustup default "${INPUT_RUST_VERSION}"
1617

1718
# shellcheck disable=SC2129
1819
echo "rustup_version=$(rustup --version)" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)