From 65dadc9e3f8c5d4ed44edd87f826815c8f96cd26 Mon Sep 17 00:00:00 2001 From: Max Litruv Boonzaayer Date: Wed, 12 Nov 2025 06:34:22 +1100 Subject: [PATCH] chore: consolidate to single build workflow --- .github/workflows/build-linux.yml | 65 ------------------------------- .github/workflows/build.yml | 29 -------------- 2 files changed, 94 deletions(-) delete mode 100644 .github/workflows/build-linux.yml delete mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml deleted file mode 100644 index e502e25..0000000 --- a/.github/workflows/build-linux.yml +++ /dev/null @@ -1,65 +0,0 @@ -name: Build Linux - -on: - push: - branches: [main] - tags: - - 'v*' - pull_request: - branches: [main] - workflow_dispatch: - -jobs: - build-linux: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' - - - name: Install dependencies - run: npm install - - - name: Build Linux packages - run: npm run dist:linux - - - name: Upload AppImage - uses: actions/upload-artifact@v4 - with: - name: linux-appimage - path: release/*.AppImage - - - name: Upload DEB - uses: actions/upload-artifact@v4 - with: - name: linux-deb - path: release/*.deb - - - name: Upload RPM - uses: actions/upload-artifact@v4 - with: - name: linux-rpm - path: release/*.rpm - - - name: Upload Snap - uses: actions/upload-artifact@v4 - with: - name: linux-snap - path: release/*.snap - - - name: Release - uses: softprops/action-gh-release@v1 - if: startsWith(github.ref, 'refs/tags/') - with: - files: | - release/*.AppImage - release/*.deb - release/*.rpm - release/*.snap - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 331d5a6..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Build/release - -on: - push: - tags: - - 'v*' - -jobs: - release: - runs-on: windows-latest - - steps: - - name: Check out Git repository - uses: actions/checkout@v4 - - - name: Install Node.js and NPM - uses: actions/setup-node@v4 - with: - node-version: 20 - - - name: Install dependencies - run: npm install - - - name: Build/release Electron app - uses: samuelmeuli/action-electron-builder@v1 - with: - github_token: ${{ secrets.github_token }} - release: ${{ startsWith(github.ref, 'refs/tags/v') }} - args: --win