-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
46 lines (43 loc) · 1.44 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: brndnmtthws/rust-action-rustup
description: Rustup install action
author: Brenden Matthews <[email protected]>
branding:
icon: box
color: purple
inputs:
toolchain:
default: stable
description: |
The Rust toolchain to install (i.e., stable, nightly, beta, etc). Refer
to https://rust-lang.github.io/rustup/concepts/toolchains.html on how to
specify the toolchain.
components:
description: |
List of individual components to install after installing rustup. Can be
a whitespace or comma separated list.
profile:
description: |
Override the default rustup profile (for example, 'minimal').
allow-downgrade:
description: |
Allow rustup to downgrade the installation until all components are
available.
default: 'true'
targets:
description: |
Install additional targets for cross compilation (i.e.,
'x86_64-apple-ios, armv7-unknown-linux-musleabi'). Can be a whitespace or
comma separate list of targets. Run `rustup target list` to list all targets.
self-update:
description: |
Make sure rustup itself is up-to-date before using it. This may fail on
some platforms, so it's disabled by default.
default: 'false'
outputs:
toolchain:
description: The Rust toolchain that which was installed.
rustc-version:
description: The installed rustc version for the current toolchain.
runs:
using: 'node20'
main: 'dist/index.mjs'