From 4d732e5513887891e46dbf66401f3d10bfc0c510 Mon Sep 17 00:00:00 2001 From: Lars Berger Date: Sun, 28 Jan 2024 21:12:53 +0800 Subject: [PATCH] ci: pass target directly to toolchain install --- .github/workflows/build.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index cc4f92d6..a976700e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -42,8 +42,7 @@ jobs: cache: pnpm - run: | - rustup toolchain install stable --profile minimal - rustup target add ${{ matrix.settings.target }} --toolchain stable + rustup toolchain install stable --profile minimal --target ${{ matrix.settings.target }} - uses: swatinem/rust-cache@988c164c3d0e93c4dbab36aaf5bbeb77425b2894 with: