2019-09-15 17:24:13 +08:00
|
|
|
name: 'rust-toolchain'
|
2019-09-12 21:44:29 +08:00
|
|
|
description: 'Install the Rust toolchain'
|
|
|
|
author: 'actions-rs team'
|
|
|
|
branding:
|
|
|
|
icon: play-circle
|
|
|
|
color: black
|
|
|
|
inputs:
|
|
|
|
toolchain:
|
|
|
|
description: |
|
|
|
|
Rust toolchain name.
|
|
|
|
|
2020-10-06 00:24:27 +08:00
|
|
|
See https://rust-lang.github.io/rustup/concepts/toolchains.html#toolchain-specification
|
2020-01-17 20:21:07 +08:00
|
|
|
|
|
|
|
If this is not given, the action will try and install the version specified in the `rust-toolchain` file.
|
|
|
|
required: false
|
2022-07-20 00:17:23 +08:00
|
|
|
targets:
|
|
|
|
description: Comma-separated list of additional target triples to install for this toolchain
|
|
|
|
required: false
|
|
|
|
targets:
|
|
|
|
description: Alias for `targets`
|
2019-09-14 01:19:52 +08:00
|
|
|
required: false
|
2019-09-12 21:44:29 +08:00
|
|
|
default:
|
|
|
|
description: Set installed toolchain as default
|
|
|
|
default: false
|
|
|
|
override:
|
|
|
|
description: Set installed toolchain as an override for a directory
|
|
|
|
default: false
|
2019-10-16 20:12:53 +08:00
|
|
|
profile:
|
|
|
|
description: Name of the group of components to be installed for a new toolchain
|
|
|
|
required: false
|
|
|
|
components:
|
|
|
|
description: Comma-separated list of components to be additionally installed for a new toolchain
|
|
|
|
required: false
|
2019-09-12 21:44:29 +08:00
|
|
|
|
2020-01-27 00:20:01 +08:00
|
|
|
outputs:
|
|
|
|
rustc:
|
|
|
|
description: Installed Rustc version
|
|
|
|
rustc_hash:
|
|
|
|
description: Installed Rustc version hash, can be used for caching purposes
|
|
|
|
cargo:
|
|
|
|
description: Installed Cargo version
|
|
|
|
rustup:
|
|
|
|
description: Installed rustup version
|
|
|
|
|
2019-09-12 21:44:29 +08:00
|
|
|
runs:
|
|
|
|
using: 'node12'
|
|
|
|
main: 'dist/index.js'
|