rs-toolchain/action.yml

45 lines
1.2 KiB
YAML
Raw Permalink Normal View History

2019-09-15 12:24:13 +03:00
name: 'rust-toolchain'
2019-09-12 16:44:29 +03: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 16:44:29 +03: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 15:12:53 +03: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 16:44:29 +03:00
2020-01-26 18:20:01 +02: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 16:44:29 +03:00
runs:
using: 'node12'
main: 'dist/index.js'