Skip to content

Commit 53fd6a7

Browse files
Build for macOS on both Arm and Intel architectures
1 parent fa2ebd2 commit 53fd6a7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/electron.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
os: [macos-latest, windows-latest]
20+
include:
21+
- os: macos-latest
22+
arch: arm64
23+
- os: macos-latest
24+
arch: x64
25+
- os: windows-latest
26+
arch: x64
2127

2228
steps:
2329
- name: Check out Git repository
@@ -39,4 +45,5 @@ jobs:
3945
- name: Publish using Electron Forge
4046
env:
4147
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48+
npm_config_arch: ${{ matrix.arch }}
4249
run: yarn run publish

0 commit comments

Comments
 (0)