From f36ff87c2e791fcbc49f7787ad29948b3a375d13 Mon Sep 17 00:00:00 2001 From: messense Date: Sat, 2 Dec 2023 22:57:44 +0800 Subject: [PATCH] Install target use rustup directly --- .github/workflows/release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 372873411..39f5e2fa1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -179,10 +179,8 @@ jobs: steps: - uses: actions/checkout@v4 # powerpc64le-unknown-linux-musl doesn't have official std library release - - uses: dtolnay/rust-toolchain@stable + - run: rustup target add --toolchain stable ${{ matrix.platform.target }} if: matrix.platform.target != 'powerpc64le-unknown-linux-musl' - with: - targets: ${{ matrix.platform.target }} - name: Build wheel env: # Make psm compile, see https://github.com/rust-lang/stacker/issues/79