From 2444595786036f15ddc02895f765cd4ec73bc419 Mon Sep 17 00:00:00 2001 From: Tom JEANNESSON Date: Thu, 14 Mar 2024 17:06:21 +0100 Subject: [PATCH] fix(ci): build --- .github/workflows/nextron.yml | 13 +++++++++++-- desktop-app/package.json | 3 ++- makefile | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nextron.yml b/.github/workflows/nextron.yml index bafa3a24..044455ac 100644 --- a/.github/workflows/nextron.yml +++ b/.github/workflows/nextron.yml @@ -11,9 +11,18 @@ jobs: - run: true build: + name: Build + strategy: + matrix: + include: + - platform: linux + os: "ubuntu-18.04" + - platform: windows + os: "windows-2019" + - platform: mac + os: "macos-10.15" + runs-on: ${{ matrix.os }} needs: authorize - name: Build - runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: diff --git a/desktop-app/package.json b/desktop-app/package.json index e75ddfa8..401b93f1 100644 --- a/desktop-app/package.json +++ b/desktop-app/package.json @@ -8,12 +8,13 @@ "main": "app/background.js", "scripts": { "start": "nextron", - "build": "nextron build --mac --linux --win --x64", + "build": "nextron build", "build:mac": "nextron build --mac", "build:mac:universal": "nextron build --mac --universal", "build:linux": "nextron build --linux", "build:win32": "nextron build --win --ia32", "build:win64": "nextron build --win --x64", + "build:all": "nextron build --mac --linux --win --x64", "postinstall": "electron-builder install-app-deps", "lint": "next lint" }, diff --git a/makefile b/makefile index 7f54b956..36b03ce7 100644 --- a/makefile +++ b/makefile @@ -10,4 +10,4 @@ update-version: ./set-version.sh build: update-version - cd desktop-app && yarn build \ No newline at end of file + cd desktop-app && yarn build:all \ No newline at end of file