add image

This commit is contained in:
dries.k
2022-07-21 17:59:44 +02:00
parent e94be2c217
commit 3de7183417
4 changed files with 32 additions and 9 deletions

View File

@@ -76,9 +76,30 @@ jobs:
name: gotify-tray_amd64_debian_${{ matrix.tag }}.deb
path: gotify-tray_amd64_debian_${{ matrix.tag }}.deb
build-macos:
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9.5'
- name: Upgrade pip and enable wheel support
run: python -m pip install --upgrade pip setuptools wheel
- name: Build
run: |
make build-macos
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.dmg
path: gotify-tray.dmg
release:
runs-on: ubuntu-latest
needs: [build-win64, build-ubuntu, build-debian]
needs: [build-win64, build-ubuntu, build-debian, build-macos]
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@master
@@ -95,3 +116,4 @@ jobs:
gotify-tray_amd64_ubuntu_jammy.deb
gotify-tray_amd64_debian_bullseye.deb
gotify-tray_amd64_debian_bookworm.deb
gotify-tray.dmg

View File

@@ -3,7 +3,7 @@ name: build
on:
push:
branches:
- 'master'
- 'develop'
jobs:
@@ -70,9 +70,10 @@ jobs:
run: |
make build-macos
brew install create-dmg
create-dmg --volname "Gotify Tray" --app-drop-link 0 0 --no-internet-enable "Gotify-Tray.dmg" "./dist/Gotify-Tray.app"
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.dmg
path: Gotify-Tray.dmg
name: gotify-tray.dmg
path: gotify-tray.dmg