Skip to content

Commit

Permalink
Set rust-version as the default toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Sep 4, 2023
1 parent d36bd21 commit 1c10d9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c10d9b

Please sign in to comment.