mirror of
https://github.com/dtolnay/rust-toolchain.git
synced 2025-06-08 03:36:37 +00:00
44 lines
1.2 KiB
YAML
44 lines
1.2 KiB
YAML
name: 'rust-toolchain'
|
|
description: 'Install the Rust toolchain'
|
|
author: David Tolnay <@dtolnay>
|
|
branding:
|
|
icon: play-circle
|
|
color: black
|
|
inputs:
|
|
toolchain:
|
|
description: |
|
|
Rust toolchain name.
|
|
|
|
See https://github.com/rust-lang/rustup.rs#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
|
|
default:
|
|
description: Set installed toolchain as default
|
|
default: true
|
|
override:
|
|
description: Set installed toolchain as an override for a directory
|
|
default: true
|
|
profile:
|
|
description: Name of the group of components to be installed for a new toolchain
|
|
default: minimal
|
|
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'
|