File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,11 +109,14 @@ jobs:
109109 apple-certificate-password : ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
110110 keychain-password : ${{ secrets.KEYCHAIN_PASSWORD }}
111111 - run : |
112- FEATURES_FLAG=""
112+ BUILD_ARGS=(--target "${{ matrix.target }}" --config "${{ env.TAURI_CONF_PATH }}" --verbose)
113+ if [[ "${{ matrix.target }}" == "x86_64-apple-darwin" ]]; then
114+ BUILD_ARGS+=(--config ./src-tauri/tauri.conf.macos-intel.json)
115+ fi
113116 if [[ "${{ inputs.channel }}" == "staging" ]]; then
114- FEATURES_FLAG=" --features devtools"
117+ BUILD_ARGS+=( --features devtools)
115118 fi
116- pnpm -F desktop tauri build --target ${{ matrix.target }} --config ${{ env.TAURI_CONF_PATH }} --verbose $FEATURES_FLAG
119+ pnpm -F desktop tauri build "${BUILD_ARGS[@]}"
117120 env:
118121 # https://v2.tauri.app/reference/environment-variables/
119122 CI: false
Original file line number Diff line number Diff line change 1+ {
2+ "bundle" : {
3+ "macOS" : {
4+ "files" : {
5+ "Resources/mlx-swift_Cmlx.bundle/default.metallib" : null
6+ }
7+ }
8+ }
9+ }
You can’t perform that action at this time.
0 commit comments