mirror of
https://github.com/actions-rs/toolchain.git
synced 2025-08-18 06:45:06 +00:00
It seems that the Node.js 12 support has been deprecated, making at the moment Github Actions to emit some warnings about such an update.
45 lines
1.2 KiB
YAML
45 lines
1.2 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
|
|
target:
|
|
description: Target triple to install for this toolchain
|
|
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: 'node16'
|
|
main: 'dist/index.js'
|