diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3b5d15ff..e6b3bd72 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -41,10 +41,15 @@ jobs: node-version: 20 cache: pnpm - - run: | - rustup toolchain install stable --profile minimal --target ${{ matrix.settings.target }} - rustup target add ${{ matrix.settings.target }} - rustup default stable + # - run: | + # rustup toolchain install stable --profile minimal --target ${{ matrix.settings.target }} + # rustup target add ${{ matrix.settings.target }} + # rustup default stable + - uses: dtolnay/rust-toolchain@stable + - name: install dependencies + run: | + rustup target add ${{ matrix.target }} + rustup toolchain install --force-non-host ${{ matrix.toolchain }} - uses: swatinem/rust-cache@988c164c3d0e93c4dbab36aaf5bbeb77425b2894 with: