You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
* Add new parameter `cache-directories` that is propagated to `Swatinem/rust-cache` (#44 by @pranc1ngpegasus)
11
11
* Add new parameter `cache-key` that is propagated to `Swatinem/rust-cache` as `key` (#41 by @iainlane)
12
12
* Make rustup toolchain installation more robust in light of planned changes https://github.com/rust-lang/rustup/issues/3635 and https://github.com/rust-lang/rustup/pull/3985
13
+
* Allow installing multiple Rust toolchains by specifying multiple versions in the `toolchain` input parameter.
Copy file name to clipboardExpand all lines: action.yml
+5-4
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ branding:
13
13
# The action is heavily inspired by https://github.com/dtolnay/rust-toolchain
14
14
inputs:
15
15
toolchain:
16
-
description: "Rust toolchain specification -- see https://rust-lang.github.io/rustup/concepts/toolchains.html#toolchain-specification"
16
+
description: "Comma-separated list of Rust toolchain specifications. Last version becomes the default. -- see https://rust-lang.github.io/rustup/concepts/toolchains.html#toolchain-specification"
17
17
required: false
18
18
target:
19
19
description: "Target triple to install for this toolchain"
@@ -80,7 +80,7 @@ runs:
80
80
: construct rustup command line
81
81
echo "targets=$(for t in ${targets//,/ }; do echo -n ' --target' $t; done)" >> $GITHUB_OUTPUT
82
82
echo "components=$(for c in ${components//,/ }; do echo -n ' --component' $c; done)" >> $GITHUB_OUTPUT
0 commit comments