fix: revert to direct build, runner now has Wine pre-installed
Build & Release / build-linux-win (push) Successful in 5m23s
Build & Release / build-linux-win (push) Successful in 5m23s
This commit is contained in:
@@ -13,9 +13,8 @@ jobs:
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20"
|
||||
- name: Verify Wine
|
||||
run: wine --version || wine64 --version || echo "no wine"
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
@@ -25,15 +24,13 @@ jobs:
|
||||
|
||||
- name: Build Linux AppImage
|
||||
run: npx electron-builder --linux --publish never
|
||||
env:
|
||||
CSC_IDENTITY_AUTO_DISCOVERY: "false"
|
||||
|
||||
- name: Build Windows Installer (via Wine container)
|
||||
run: |
|
||||
docker run --rm \
|
||||
-v "$(pwd)":/project \
|
||||
-w /project \
|
||||
-e CSC_IDENTITY_AUTO_DISCOVERY=false \
|
||||
electronuserland/builder:20-wine \
|
||||
bash -c "npx electron-builder --win --publish never"
|
||||
- name: Build Windows Installer
|
||||
run: npx electron-builder --win --publish never
|
||||
env:
|
||||
CSC_IDENTITY_AUTO_DISCOVERY: "false"
|
||||
|
||||
- name: Create Gitea Release and upload assets
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user