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

View file

@ -138,7 +138,7 @@ runs:
toolchain=stable toolchain=stable
fi fi
rustup toolchain install $toolchain${{steps.flags.outputs.targets}}${{steps.flags.outputs.components}} --profile minimal${{steps.flags.outputs.downgrade}} --no-self-update 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 fi
- id: versions - id: versions