mirror of
https://github.com/actions-rs/toolchain.git
synced 2024-12-22 15:45:49 +02:00
Link to recipes
This commit is contained in:
parent
8e603f32c5
commit
cfc1332c14
2 changed files with 13 additions and 2 deletions
1
.github/FUNDING.yml
vendored
Normal file
1
.github/FUNDING.yml
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
custom: https://svartalf.info/donate/
|
14
README.md
14
README.md
|
@ -1,4 +1,4 @@
|
||||||
# `rustup toolchain` Action
|
# `rust-toolchain` Action
|
||||||
|
|
||||||
![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)
|
![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)
|
||||||
[![Gitter](https://badges.gitter.im/actions-rs/community.svg)](https://gitter.im/actions-rs/community)
|
[![Gitter](https://badges.gitter.im/actions-rs/community.svg)](https://gitter.im/actions-rs/community)
|
||||||
|
@ -25,14 +25,24 @@ jobs:
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
override: true
|
override: true
|
||||||
|
|
||||||
|
# `cargo check` command here will use installed `nightly`
|
||||||
|
# as it set as an "override" for current directory
|
||||||
|
|
||||||
|
- name: Run cargo check
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: check
|
||||||
```
|
```
|
||||||
|
|
||||||
|
See [additional recipes here](https://github.com/actions-rs/meta).
|
||||||
|
|
||||||
## Inputs
|
## Inputs
|
||||||
|
|
||||||
* `toolchain` (*required*): Toolchain name, see [rustup page](https://github.com/rust-lang/rustup.rs#toolchain-specification) for details.\
|
* `toolchain` (*required*): Toolchain name, see [rustup page](https://github.com/rust-lang/rustup.rs#toolchain-specification) for details.\
|
||||||
Examples: `stable`, `nightly`, `nightly-2019-04-20`
|
Examples: `stable`, `nightly`, `nightly-2019-04-20`
|
||||||
* `target`: Additionally install specific target for this toolchain (ex. `x86_64-apple-darwin`)
|
* `target`: Additionally install specific target for this toolchain (ex. `x86_64-apple-darwin`)
|
||||||
* `default`: Set installed toolchain as default (executes `rustup toolchain default {TOOLCHAIN}`)
|
* `default`: Set installed toolchain as default (executes `rustup toolchain default {toolchain}`)
|
||||||
* `override`: Set installed toolchain as an override for current directory
|
* `override`: Set installed toolchain as an override for current directory
|
||||||
|
|
||||||
## Components
|
## Components
|
||||||
|
|
Loading…
Reference in a new issue