From f4bfac42a5d7766df049935f14ab293ade1c584b Mon Sep 17 00:00:00 2001 From: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri, 24 May 2024 15:23:41 +0100 Subject: [PATCH] fix: Add x86_64-apple-darwin and aarch64-apple-darwin to rust-toolchain --- .github/workflows/main.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 526b9a06..884182c9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,15 +8,7 @@ jobs: cap-desktop-release: permissions: contents: write - strategy: - fail-fast: false - matrix: - include: - - platform: "macos-latest" - args: "--target universal-apple-darwin" - runs-on: ${{ matrix.platform }} - env: - ARCHFLAGS: "-arch x86_64 -arch arm64" + runs-on: macos-latest steps: - name: Checkout repository @@ -27,6 +19,8 @@ jobs: - name: Rust setup uses: dtolnay/rust-toolchain@stable + with: + targets: x86_64-apple-darwin, aarch64-apple-darwin - name: Rust cache uses: swatinem/rust-cache@v2 @@ -77,6 +71,7 @@ jobs: APPLE_API_KEY_PATH: api.p8 with: projectPath: apps/desktop + args: --target universal-apple-darwin tagName: cap-v__VERSION__ releaseName: "Cap v__VERSION__" releaseBody: "The latest version of Cap."