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:
Jean-Baptiste Louazel 2025-09-15 18:06:58 +02:00
parent e97e2d8cc3
commit 15ce61073f
No known key found for this signature in database
GPG key ID: ABA0CF9051FFC4BD
2 changed files with 9 additions and 0 deletions

View file

@ -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 &lt;toolchain&gt;</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>