Skip to content

Commit

Permalink
fix(ci): build
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjeannesson committed Mar 14, 2024
1 parent 1117b7e commit 2444595
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/nextron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion desktop-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ update-version:
./set-version.sh

build: update-version
cd desktop-app && yarn build
cd desktop-app && yarn build:all

0 comments on commit 2444595

Please sign in to comment.