generated from actions/typescript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
action.yml
30 lines (30 loc) · 904 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Set up a Rust toolchain
description: Install a specific Rust toolchain and add it to the PATH
author: Héctor Ramón Jiménez <[email protected]>
branding:
icon: package
color: blue
inputs:
rust-version:
description: The toolchain version; such as stable, nightly, or 1.8.0
default: stable
profile:
description: The toolchain profile to install
default: default
components:
description: The toolchain components to install, comma-separated
default: ""
targets:
description: The toolchain targets to add, comma-separated
default: ""
runs:
using: composite
steps:
- id: setup
run: '"${GITHUB_ACTION_PATH%/}/setup.sh"'
shell: bash
env:
INPUT_RUST_VERSION: ${{ inputs.rust-version }}
INPUT_PROFILE: ${{ inputs.profile }}
INPUT_COMPONENTS: ${{ inputs.components }}
INPUT_TARGETS: ${{ inputs.targets }}