mirror of
https://github.com/dtolnay/rust-toolchain.git
synced 2025-09-21 23:41:57 +03:00
Add set-default
input
Adds new `set-default` input (default: true) to control whether `rustup default <toolchain>` is executed. Signed-off-by: Jean-Baptiste Louazel <jb.louazel@gmail.com>
This commit is contained in:
parent
e97e2d8cc3
commit
15ce61073f
2 changed files with 9 additions and 0 deletions
|
@ -53,6 +53,10 @@ All inputs are optional.
|
|||
<td><code>components</code></td>
|
||||
<td>Comma-separated string of additional components to install e.g. <code>clippy, rustfmt</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>set-default</code></td>
|
||||
<td>Whether to set the installed toolchain as the active default via <code>rustup default <toolchain></code>. Defaults to <code>true</code>. Set to <code>false</code> if you only plan to use the toolchain with explicit <code>+toolchain</code> overrides in your commands and don't want to change the runner's global default.</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue