From 760000c1c717b108fd1e26a71cd5ffbc6de95256 Mon Sep 17 00:00:00 2001 From: Bradford Powell Date: Mon, 16 Mar 2026 09:02:57 -0400 Subject: [PATCH] update github action so macOS build runs on intel or apple processors --- .github/workflows/build-tauri.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build-tauri.yml b/.github/workflows/build-tauri.yml index 17882ab..befd914 100644 --- a/.github/workflows/build-tauri.yml +++ b/.github/workflows/build-tauri.yml @@ -26,6 +26,8 @@ jobs: # ------------------------------------ - name: Setup Rust uses: dtolnay/rust-toolchain@stable + with: + targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} - name: Cache Rust build artifacts uses: actions/cache@v4 @@ -84,6 +86,8 @@ jobs: env: TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY || '' }} TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD || '' }} + with: + args: ${{ matrix.platform == 'macos-latest' && '--target universal-apple-darwin' || '' }} # ------------------------------------ # 6. Upload Artifacts @@ -94,6 +98,7 @@ jobs: name: installer-${{ matrix.platform }} path: | src-tauri/target/release/bundle/**/* + src-tauri/target/universal-apple-darwin/release/bundle/**/* if-no-files-found: ignore # ------------------------------------