rs-toolchain/action.yml
2022-07-19 12:17:23 -04:00

47 lines
1.3 KiB
YAML

name: 'rust-toolchain'
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
targets:
description: Comma-separated list of additional target triples to install for this toolchain
required: false
targets:
description: Alias for `targets`
required: false
default:
description: Set installed toolchain as default
default: false
override:
description: Set installed toolchain as an override for a directory
default: false
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
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
runs:
using: 'node12'
main: 'dist/index.js'