Skip to content

Commit 90eee51

Browse files
committed
Merge remote-tracking branch 'origin/main' into xcode26
2 parents 13579dc + 976a140 commit 90eee51

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Install Rust stable
5252
uses: dtolnay/rust-toolchain@stable
5353
with:
54-
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
54+
targets: ${{ (matrix.platform == 'macos-latest' || matrix.platform == 'macos-15-intel') && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
5555

5656
- name: Install Linux dependencies
5757
if: matrix.platform == 'ubuntu-22.04'
@@ -76,15 +76,15 @@ jobs:
7676
run: bun i --frozen-lockfile
7777

7878
- name: Clean old bundles
79-
if: matrix.platform != 'macos-latest'
79+
if: matrix.platform != 'macos-latest' && matrix.platform != 'macos-15-intel'
8080
run: bunx rimraf src-tauri/target/release/bundle
8181

8282
- name: Clean old bundles
83-
if: matrix.platform == 'macos-latest' && matrix.args == '--target aarch64-apple-darwin'
83+
if: matrix.platform == 'macos-latest'
8484
run: bunx rimraf src-tauri/target/aarch64-apple-darwin/release/bundle
8585

8686
- name: Clean old bundles
87-
if: matrix.platform == 'macos-latest' && matrix.args == '--target x86_64-apple-darwin'
87+
if: matrix.platform == 'macos-15-intel'
8888
run: bunx rimraf src-tauri/target/x86_64-apple-darwin/release/bundle
8989

9090
- name: Build
@@ -100,7 +100,7 @@ jobs:
100100

101101
- name: Upload macOS DMG
102102
uses: actions/upload-artifact@v4
103-
if: matrix.platform == 'macos-latest'
103+
if: matrix.platform == 'macos-latest' || matrix.platform == 'macos-15-intel'
104104
with:
105105
name: macos-dmg-${{ matrix.args == '--target aarch64-apple-darwin' && 'arm64' || 'x64' }}
106106
path: ${{ github.workspace }}/src-tauri/target/**/release/bundle/**/*.dmg

0 commit comments

Comments
 (0)