From c9d24c42b3f0532ffef1ef1806a9b40e71d0203c Mon Sep 17 00:00:00 2001 From: Siddharth Date: Wed, 19 Nov 2025 22:51:57 -0700 Subject: [PATCH] workflow testing for win attempt 3 --- .github/workflows/build.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1ba5f11..3445d1b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,7 +3,7 @@ name: Build Electron App on: push: branches: [ main, master ] - workflow_dispatch: # Allows you to manually trigger from GitHub UI + workflow_dispatch: jobs: build-windows: @@ -15,19 +15,21 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '22' - name: Install dependencies run: npm ci - name: Build Windows app run: npm run build:win + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload Windows build uses: actions/upload-artifact@v4 with: name: windows-installer - path: dist/*.exe + path: release/**/*.exe retention-days: 30 build-macos: @@ -39,17 +41,24 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' + + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: '3.11' - name: Install dependencies run: npm ci - name: Build macOS app run: npm run build:mac + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload macOS build uses: actions/upload-artifact@v4 with: name: macos-installer - path: dist/*.dmg + path: release/**/*.dmg retention-days: 30 \ No newline at end of file