create dmg instead of zip

This commit is contained in:
dries.k
2022-07-21 16:13:37 +02:00
parent 88e9ac44e9
commit afbd2af15c
2 changed files with 11 additions and 6 deletions

View File

@@ -69,12 +69,10 @@ jobs:
- name: Build
run: |
make build-macos
cd dist
zip -r Gotify-Tray.zip Gotify-Tray.app
cd ..
cp dist/Gotify-Tray.zip Gotify-Tray.zip
brew install create-dmg
create-dmg --volname "Gotify Tray" --app-drop-link 0 0 --no-internet-enable "Gotify-Tray.dmg" "./dist/Gotify-Tray.app"
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: Gotify-Tray.zip
path: Gotify-Tray.zip
name: Gotify-Tray.dmg
path: Gotify-Tray.dmg