Skip to content

Commit

Permalink
use arch universal for build mac
Browse files Browse the repository at this point in the history
  • Loading branch information
luuxis committed Mar 27, 2024
1 parent b5a7f0b commit e8221ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
os: [macos-14, ubuntu-latest, windows-latest]

steps:
- name: Check out Git repository
Expand Down
11 changes: 2 additions & 9 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,18 +95,11 @@ class Index {
identity: null,
target: [{
target: "dmg",
arch: "x64"
arch: "universal"
},
{
target: "zip",
arch: "x64"
},
{
target: "dmg",
arch: "arm64"
}, {
target: "zip",
arch: "arm64"
arch: "universal"
}]
},
linux: {
Expand Down

0 comments on commit e8221ce

Please sign in to comment.