fix: resolve mac updater no-response by shipping zip and surfacing errors

This commit is contained in:
7418 committed 2026-02-27 14:35:22 +08:00
1 parent 54515e1cec
commit c14fdb07ae
6 files changed
+34 -8

No files matched your search

+2 -5
View File
@@ -46,9 +46,6 @@ jobs:
build-macos:
if: ${{ github.event_name == 'push' || inputs.platform == 'all' || inputs.platform == 'macos' }}
runs-on: macos-latest
strategy:
matrix:
arch: [x64, arm64]
steps:
- uses: actions/checkout@v4
@@ -63,10 +60,10 @@ jobs:
- name: Build Electron app
run: npm run electron:build
- name: Package for macOS (${{ matrix.arch }})
- name: Package for macOS (x64 + arm64)
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx electron-builder --mac --${{ matrix.arch }} --config electron-builder.yml --publish always
run: npx electron-builder --mac --config electron-builder.yml --publish always
build-linux:
if: ${{ github.event_name == 'push' || inputs.platform == 'all' || inputs.platform == 'linux' }}