From 3e6e5e5f870f887b5da158a004a9bedaf9842925 Mon Sep 17 00:00:00 2001 From: Lars Berger Date: Wed, 31 Jan 2024 20:38:08 +0800 Subject: [PATCH] fix --- .github/workflows/build.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 37d5b215..20fc21b3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -41,10 +41,10 @@ jobs: node-version: 20 cache: pnpm - - uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248 - with: - toolchain: stable - targets: ${{ matrix.settings.target }} + - run: | + rustup toolchain install stable --profile minimal --target ${{ matrix.settings.target }} + rustup add target ${{ matrix.settings.target }} + rustup default stable - uses: swatinem/rust-cache@988c164c3d0e93c4dbab36aaf5bbeb77425b2894 with: