fix(build): dugite arch under macOS arm64

Fix #4563
This commit is contained in:
Andelf
2022-03-24 17:14:22 +08:00
committed by Junyi Du
parent 76982e61a7
commit d74f75d1a1

View File

@@ -344,7 +344,7 @@ jobs:
# key: ${{ runner.os }}-node-modules
- name: Build/Release Electron App for arm64
run: yarn install && yarn electron:make-macos-arm64
run: npx cross-env npm_config_arch=arm64 yarn install && yarn electron:make-macos-arm64
working-directory: ./static
env:
APPLE_ID: ${{ secrets.APPLE_ID_EMAIL }}