From 0e748a0c415c3b79d500768e28f6c18f1496550f Mon Sep 17 00:00:00 2001 From: mag123c Date: Thu, 14 May 2026 22:17:05 +0900 Subject: [PATCH] fix(ci): switch release.yml to actions-rust-lang/setup-rust-toolchain MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Same dtolnay/rust-toolchain regression as ci.yml — `cargo build` invokes rustup-init instead of cargo on the current runner images. Apply the same fix that unblocked ci.yml (#146). The v2.7.1/v2.7.2 release runs failed because of this; next tagged release will pick up the fix automatically via release-please. --- .github/workflows/release.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 22bf7dc..b503cd9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,12 +63,10 @@ jobs: ref: ${{ inputs.tag }} - name: Install Rust - uses: dtolnay/rust-toolchain@stable + uses: actions-rust-lang/setup-rust-toolchain@v1 with: - targets: ${{ matrix.target }} - - - name: Cache cargo - uses: Swatinem/rust-cache@v2 + toolchain: stable + target: ${{ matrix.target }} - name: Install cross if: matrix.cross