chore(beta): do not build macos-arm64 on macos-x64 (#3764)
This commit is contained in:
1 parent
5ec55641d4
commit
a3f6d9d897
1 file changed
+3
-1
@@ -12,6 +12,8 @@ build('win-x64')
|
||||
build('linux-x64')
|
||||
build('linuxstatic-x64')
|
||||
build('macos-x64')
|
||||
if (process.platform === 'linux' || process.platform === 'darwin') {
|
||||
|
||||
const isM1Mac = process.platform === 'darwin' && process.arch === 'arm64'
|
||||
if (process.platform === 'linux' || isM1Mac) {
|
||||
build('macos-arm64')
|
||||
}
|
||||
Reference in new issue
Block a user