From f6a0036f421a4841c39906f86434baa05734c0a5 Mon Sep 17 00:00:00 2001 From: "dries.k" Date: Wed, 3 Aug 2022 23:52:53 +0200 Subject: [PATCH] build pip in develop branch --- .github/workflows/develop.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index fecbfb5..61f0ea1 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -79,3 +79,24 @@ jobs: name: gotify-tray.dmg path: gotify-tray.dmg + build-pip: + runs-on: ubuntu-latest + 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: install requirements + run: | + pip install -r requirements.txt + pip install build + - name: create pip package + run: python -m build + - name: Upload artifact + uses: actions/upload-artifact@v2 + with: + name: gotify_tray.whl + path: dist/gotify_tray-*.whl