From 5c4fa8836e40f2162529111f4e50c63b34428669 Mon Sep 17 00:00:00 2001 From: kdusek Date: Sun, 7 Dec 2025 22:52:54 +0100 Subject: [PATCH] Remove Windows and macOS builds from CI, keep only Linux --- .github/workflows/develop.yml | 49 +-------------------------------- .github/workflows/release.yml | 51 +---------------------------------- 2 files changed, 2 insertions(+), 98 deletions(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 5fc9b8e..cf4872d 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -9,54 +9,7 @@ on: jobs: - build-win64: - runs-on: windows-latest - steps: - - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.13' - - 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 pyinstaller - shell: bash - - name: Build - run: | - powershell -File build-win.ps1 - mv inno-output\gotify-tray-installer.exe gotify-tray-installer-win.exe - shell: cmd - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: gotify-tray-installer-win.exe - path: gotify-tray-installer-win.exe - - build-macos: - runs-on: macos-12 - steps: - - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.13' - - 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@v4 - with: - name: gotify-tray.dmg - path: gotify-tray.dmg - - build-pip: + build-linux: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ce46a30..705653c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,53 +7,6 @@ on: jobs: - build-win64: - runs-on: windows-latest - steps: - - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.13' - - 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 pyinstaller - shell: bash - - name: Build - run: | - powershell -File build-win.ps1 - mv inno-output\gotify-tray-installer.exe gotify-tray-installer-win.exe - shell: cmd - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: gotify-tray-installer-win.exe - path: gotify-tray-installer-win.exe - - build-macos: - runs-on: macos-12 - steps: - - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.13' - - 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@v4 - with: - name: gotify-tray.dmg - path: gotify-tray.dmg - pypi: runs-on: ubuntu-latest environment: @@ -85,7 +38,7 @@ jobs: release: runs-on: ubuntu-latest - needs: [build-win64, build-macos, pypi] + needs: [pypi] steps: - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 @@ -95,6 +48,4 @@ jobs: repo_token: "${{ secrets.GITHUB_TOKEN }}" prerelease: false files: | - gotify-tray-installer-win.exe - gotify-tray.dmg gotify_tray-${{github.ref_name}}-py3-none-any.whl