Add option to specify the toolchain config file

This commit is contained in:
Stefan Kuhn 2023-04-23 11:46:38 +00:00
parent 21cbaddcd4
commit afaa4e3396
3 changed files with 21 additions and 9 deletions

View file

@ -17,7 +17,7 @@ jobs:
This action will automatically install the appropriate toolchain with `rustup` by inspecting the
`RUSTUP_TOOLCHAIN` environment variable or the `rust-toolchain.toml` (preferred) or `rust-toolchain`
configuration files. If no toolchain found, will default to `stable`.
configuration files. To specify the location of the toolchain configuration files you can use `rust-toolchain-file` option. If no toolchain found, will default to `stable`.
```toml
# rust-toolchain.toml