From 6db0e88b68db00c27d0161476666709677075076 Mon Sep 17 00:00:00 2001 From: bakedpotatolord Date: Sat, 3 May 2025 11:08:56 -0600 Subject: [PATCH] switch to concurrent jobs --- .github/workflows/build-test.yml | 49 ++++++++++++++++++++++++++++---- 1 file changed, 44 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 8c8ab247..271695dc 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -8,11 +8,8 @@ on: jobs: - build: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + build-ubuntu: + runs-on: "ubuntu-latest" steps: - name: Checkout code @@ -32,3 +29,45 @@ jobs: run: npm run build + build-macos: + runs-on: "macos-latest" + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Install dependencies + run: npm install + + - name: Build Electron app + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + run: npm run build + + build-windows: + runs-on: "windows-latest" + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Install dependencies + run: npm install + + - name: Build Electron app + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + run: npm run build + + +