build-macos action

This commit is contained in:
dries.k
2022-07-21 15:23:00 +02:00
parent 1724606227
commit 686b93f757
3 changed files with 67 additions and 0 deletions

View File

@@ -55,3 +55,23 @@ jobs:
with:
name: gotify-tray_amd64_ubuntu_${{ matrix.tag }}.deb
path: gotify-tray_amd64_ubuntu_${{ 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
cp dist/Gotify-Tray.app Gotify-Tray.app
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: Gotify-Tray.app
path: Gotify-Tray.app