mirror of
https://github.com/heyman/heynote.git
synced 2024-11-24 17:03:19 +01:00
Build both DMG and ZIP for both arm64 and intel architectures
Save ZIP file in mac build artifact instead of DMG file
This commit is contained in:
parent
0862fb6a07
commit
d361a5a073
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: heynote-macos-${{ github.sha }}
|
||||
path: release/*/Heynote_[0-9].[0-9].[0-9]*.dmg
|
||||
path: release/*/Heynote_[0-9].[0-9].[0-9]*.zip
|
||||
retention-days: 1
|
||||
|
||||
- name: Upload Windows artifact
|
||||
|
@ -14,17 +14,16 @@
|
||||
"dist"
|
||||
],
|
||||
"mac": {
|
||||
"artifactName": "${productName}_${version}.${ext}",
|
||||
"artifactName": "${productName}_${version}_${arch}.${ext}",
|
||||
"target": [
|
||||
"dmg",
|
||||
/*{
|
||||
{
|
||||
target: 'default',
|
||||
arch: [
|
||||
'x64',
|
||||
'arm64'
|
||||
]
|
||||
}*/
|
||||
]
|
||||
}
|
||||
],
|
||||
},
|
||||
"win": {
|
||||
"target": [
|
||||
|
Loading…
Reference in New Issue
Block a user