use rustup override set to select toolchain

Using rustup override set will override a local rust-toolchain.toml file
while rustup default will not.
This commit is contained in:
Felix Prasanna 2024-01-12 17:14:34 -05:00
parent d5fcac478a
commit d473183fe9
1 changed files with 1 additions and 1 deletions

View File

@ -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