From 152979680cee773324e6eb369581fe2e7e0e1d00 Mon Sep 17 00:00:00 2001 From: Vollate Date: Tue, 4 Jun 2024 11:45:51 +0800 Subject: [PATCH] try to fix x86 mac --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index abb6b891..d0661e9e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,8 +51,9 @@ jobs: - name: install Rust stable uses: dtolnay/rust-toolchain@stable with: - # Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds. - targets: ${{ matrix.settings.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} + targets: | + aarch64-apple-darwin + x86_64-apple-darwin - name: Rust cache uses: swatinem/rust-cache@v2