toolchain/action.yml

45 lines
1.2 KiB
YAML
Raw Normal View History

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.
See https://rust-lang.github.io/rustup/concepts/toolchains.html#toolchain-specification
If this is not given, the action will try and install the version specified in the `rust-toolchain` file.
required: false
target:
description: Target triple to install for this toolchain
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'