diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 18c3502..30ced88 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,12 @@ jobs: artifacts: "dist/*-win-installer.exe,dist/*-win-portable.exe" build_mac: - runs-on: macos-13 + strategy: + matrix: + # macos-13 is an Intel (x64) runner, macos-14 is an Apple Silicon (arm64) runner. + # cx_Freeze can only build for the host architecture, so each arch needs its own runner. + os: [macos-13, macos-14] + runs-on: ${{ matrix.os }} permissions: contents: write steps: @@ -80,7 +85,7 @@ jobs: replacesArtifacts: true omitDraftDuringUpdate: true omitNameDuringUpdate: true - artifacts: "dist/*-mac.dmg" + artifacts: "dist/*-mac-*.dmg" build_linux: runs-on: ubuntu-latest diff --git a/package.json b/package.json index 94911c3..fc6ecb7 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "mac": { "target": "dmg", "identity": null, - "artifactName": "ReticulumMeshChat-v${version}-${os}.${ext}", + "artifactName": "ReticulumMeshChat-v${version}-${os}-${arch}.${ext}", "extendInfo": { "NSMicrophoneUsageDescription": "Microphone access is only needed for Audio Calls", "com.apple.security.device.audio-input": true