fix: use electron-builder Wine image, disable code signing
Build & Release / build-linux-win (push) Failing after 2m34s
Build & Release / build-linux-win (push) Failing after 2m34s
- Runner now uses electronuserland/builder:20-wine which has Node 20, Wine, and all build tools pre-installed - Removed manual Wine/Node setup steps from workflow - Disabled Windows code signing (no certificate available) - Simplified workflow to: checkout -> npm ci -> build -> package -> release
This commit is contained in:
@@ -13,32 +13,20 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: "20"
|
|
||||||
cache: "npm"
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Build backend + frontend + electron
|
- name: Build backend + frontend + electron
|
||||||
run: npm run build:all
|
run: npm run build:all
|
||||||
|
|
||||||
- name: Install system dependencies
|
|
||||||
run: |
|
|
||||||
dpkg --add-architecture i386
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y --no-install-recommends wine64 wine32 fakeroot rpm
|
|
||||||
|
|
||||||
- name: Build Linux AppImage
|
- name: Build Linux AppImage
|
||||||
run: npx electron-builder --linux --publish never
|
run: npx electron-builder --linux --publish never
|
||||||
|
|
||||||
- name: Build Windows Installer
|
- name: Build Windows Installer
|
||||||
|
run: npx electron-builder --win --publish never
|
||||||
env:
|
env:
|
||||||
WINEDEBUG: "-all"
|
WIN_CSC_LINK: ""
|
||||||
run: |
|
WIN_CSC_KEY_PASSWORD: ""
|
||||||
wine64 --version || wine --version || echo "wine check"
|
|
||||||
npx electron-builder --win --publish never
|
|
||||||
|
|
||||||
- name: Create Gitea Release and upload assets
|
- name: Create Gitea Release and upload assets
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -29,6 +29,8 @@ asar: true
|
|||||||
win:
|
win:
|
||||||
target: nsis
|
target: nsis
|
||||||
icon: assets/icon.ico
|
icon: assets/icon.ico
|
||||||
|
sign: false
|
||||||
|
signingHashAlgorithms: null
|
||||||
nsis:
|
nsis:
|
||||||
oneClick: false
|
oneClick: false
|
||||||
allowToChangeInstallationDirectory: true
|
allowToChangeInstallationDirectory: true
|
||||||
|
|||||||
Reference in New Issue
Block a user