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
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: heynote-macos-${{ github.sha }}
|
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
|
retention-days: 1
|
||||||
|
|
||||||
- name: Upload Windows artifact
|
- name: Upload Windows artifact
|
||||||
|
@ -14,17 +14,16 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"mac": {
|
"mac": {
|
||||||
"artifactName": "${productName}_${version}.${ext}",
|
"artifactName": "${productName}_${version}_${arch}.${ext}",
|
||||||
"target": [
|
"target": [
|
||||||
"dmg",
|
{
|
||||||
/*{
|
|
||||||
target: 'default',
|
target: 'default',
|
||||||
arch: [
|
arch: [
|
||||||
'x64',
|
'x64',
|
||||||
'arm64'
|
'arm64'
|
||||||
]
|
]
|
||||||
}*/
|
}
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
"win": {
|
"win": {
|
||||||
"target": [
|
"target": [
|
||||||
|
Loading…
Reference in New Issue
Block a user