mirror of
https://github.com/actions-rust-lang/setup-rust-toolchain.git
synced 2024-12-25 16:48:32 +01:00
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:
parent
d5fcac478a
commit
d473183fe9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue