1313 strategy :
1414 fail-fast : false
1515 matrix :
16- platform : [macos-latest, macos-13, ubuntu-22.04, windows-latest]
17- env :
18- MACOSX_DEPLOYMENT_TARGET : " 10.13"
16+ include :
17+ # Windows (Standard x64)
18+ - platform : windows-latest
19+ args : ' '
20+
21+ # Linux (Ubuntu x64)
22+ - platform : ubuntu-22.04
23+ args : ' '
24+
25+ # macOS (Apple Silicon / ARM64)
26+ # We use a custom argument to force the ARM build target
27+ - platform : macos-latest
28+ args : ' --target aarch64-apple-darwin'
1929
2030 runs-on : ${{ matrix.platform }}
2131 steps :
2838
2939 - name : install Rust stable
3040 uses : dtolnay/rust-toolchain@stable
41+ with :
42+ # Targets: Linux, Windows, and Mac ARM
43+ targets : aarch64-apple-darwin, x86_64-unknown-linux-gnu, x86_64-pc-windows-msvc
3144
3245 - name : install dependencies (ubuntu only)
3346 if : matrix.platform == 'ubuntu-22.04'
@@ -51,10 +64,16 @@ jobs:
5164 uses : tauri-apps/tauri-action@v0
5265 env :
5366 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
67+ # These secrets are only needed if you are signing the Mac app
68+ APPLE_CERTIFICATE : ${{ secrets.APPLE_CERTIFICATE }}
69+ APPLE_CERTIFICATE_PASSWORD : ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
70+ APPLE_SIGNING_IDENTITY : ${{ secrets.APPLE_SIGNING_IDENTITY }}
5471 with :
55- tagName : app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
72+ tagName : app-v__VERSION__
5673 releaseName : ' App v__VERSION__'
5774 releaseBody : ' See the assets to download this version and install.'
5875 releaseDraft : true
5976 prerelease : false
6077 projectPath : ./app
78+ # This pulls the 'args' from the matrix above (e.g., forcing ARM on Mac)
79+ args : ${{ matrix.args }}
0 commit comments