From d473183fe9998a8cc8675f8f421fd2ab7044b784 Mon Sep 17 00:00:00 2001 From: Felix Prasanna Date: Fri, 12 Jan 2024 17:14:34 -0500 Subject: [PATCH] use rustup override set to select toolchain Using rustup override set will override a local rust-toolchain.toml file while rustup default will not. --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 45eda54..997b954 100644 --- a/action.yml +++ b/action.yml @@ -138,7 +138,7 @@ runs: toolchain=stable fi rustup toolchain install $toolchain${{steps.flags.outputs.targets}}${{steps.flags.outputs.components}} --profile minimal${{steps.flags.outputs.downgrade}} --no-self-update - rustup default $toolchain + rustup override set $toolchain fi - id: versions