mirror of
https://github.com/actions-rs/toolchain.git
synced 2025-08-16 22:05:06 +00:00
1. Not doing so would be a breaking change for users who have a rust-toolchain file with a different version from what they specify in the input. 2. Not doing so makes it overly complicated to install a specific version. Imagine you want to test your software against the version in the rust-toolchain file and nightly as-well. Without this patch, users will have the replace the content of the rust-toolchain file because it is prioritized over the input. It makes a lot more sense to prioritize the input over the file because that one is easier changed.
33 lines
873 B
YAML
33 lines
873 B
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://github.com/rust-lang/rustup.rs#toolchain-specification
|
|
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
|
|
|
|
runs:
|
|
using: 'node12'
|
|
main: 'dist/index.js'
|