Skip to content

Commit

Permalink
ci(gui): rebuild electron modules when making electron image
Browse files Browse the repository at this point in the history
  • Loading branch information
bambanah committed Sep 12, 2024
1 parent 39df7da commit 930a8f9
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/build-release-electron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,20 @@ jobs:

- run: pnpm install --frozen-lockfile

- run: pnpm make
- name: Rebuild Electron modules
run: |
cd gui
npx electron-rebuild
if: matrix.os == 'macos-latest'

- name: Build and package
run: |
if [ "${{ matrix.os }}" == "macos-latest" ]; then
pnpm make -- --arch=x64 --verbose
else
pnpm make --verbose
fi
shell: bash

- name: Upload Artifacts
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit 930a8f9

Please sign in to comment.