mirror of
https://github.com/dtolnay/rust-toolchain.git
synced 2026-10-17 13:23:40 -05:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c6e4213912 | ||
|
|
2c76c034f9 |
+6
-1
@@ -6,6 +6,10 @@ branding:
|
|||||||
color: purple
|
color: purple
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
|
toolchain:
|
||||||
|
description: Rust toolchain specification -- see https://rust-lang.github.io/rustup/concepts/toolchains.html#toolchain-specification
|
||||||
|
required: false
|
||||||
|
default: nightly
|
||||||
targets:
|
targets:
|
||||||
description: Comma-separated list of target triples to install for this toolchain
|
description: Comma-separated list of target triples to install for this toolchain
|
||||||
required: false
|
required: false
|
||||||
@@ -15,6 +19,7 @@ inputs:
|
|||||||
components:
|
components:
|
||||||
description: Comma-separated list of components to be additionally installed
|
description: Comma-separated list of components to be additionally installed
|
||||||
required: false
|
required: false
|
||||||
|
default: clippy
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
cachekey:
|
cachekey:
|
||||||
@@ -50,7 +55,7 @@ runs:
|
|||||||
printf 'toolchain<<%s\n%s\n%s\n' "$delimiter" "$toolchain" "$delimiter" >> $GITHUB_OUTPUT
|
printf 'toolchain<<%s\n%s\n%s\n' "$delimiter" "$toolchain" "$delimiter" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
toolchain: 1.86.0
|
toolchain: ${{inputs.toolchain}}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Set $CARGO_HOME
|
- name: Set $CARGO_HOME
|
||||||
|
|||||||
Reference in New Issue
Block a user