fix: add wine debug flag and rpm/fakeroot for electron-builder
Build & Release / build-linux-win (push) Failing after 8m49s
Build & Release / build-linux-win (push) Failing after 8m49s
This commit is contained in:
@@ -24,17 +24,21 @@ jobs:
|
||||
- name: Build backend + frontend + electron
|
||||
run: npm run build:all
|
||||
|
||||
- name: Install Wine for Windows cross-compilation
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
dpkg --add-architecture i386
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends wine64 wine32
|
||||
apt-get install -y --no-install-recommends wine64 wine32 fakeroot rpm
|
||||
|
||||
- name: Build Linux AppImage
|
||||
run: npx electron-builder --linux --publish never
|
||||
|
||||
- name: Build Windows Installer
|
||||
run: npx electron-builder --win --publish never
|
||||
env:
|
||||
WINEDEBUG: "-all"
|
||||
run: |
|
||||
wine64 --version || wine --version || echo "wine check"
|
||||
npx electron-builder --win --publish never
|
||||
|
||||
- name: Create Gitea Release and upload assets
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user