Skip to content

Commit 0fb9d91

Browse files
committed
Fix rustup component install syntax
Signed-off-by: Claude <[email protected]>
1 parent bfd8c04 commit 0fb9d91

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/actions/build-ami/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ runs:
9999
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain "$RUST_TOOLCHAIN"
100100
source "$HOME/.cargo/env"
101101
rustup component add clippy rustfmt
102-
rustup toolchain install nightly --component rustfmt clippy rust-src miri llvm-tools-preview
102+
rustup toolchain install nightly
103+
rustup component add --toolchain nightly rustfmt clippy rust-src miri llvm-tools-preview
103104
cargo --version
104105
rustc --version
105106

0 commit comments

Comments
 (0)