mirror of
https://git.sanhost.net/sanasol/hytale-f2p
synced 2026-02-26 05:41:48 -03:00
ci: fix Windows cross-compilation and add cloudsol runner
- Skip native module rebuild for Windows (register-scheme can't cross-compile) - ELECTRON_BUILDER_SKIP_NATIVE_REBUILD=true for Windows builds Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -40,6 +40,10 @@ jobs:
|
|||||||
- run: npm ci
|
- run: npm ci
|
||||||
|
|
||||||
- name: Build Windows Packages
|
- name: Build Windows Packages
|
||||||
|
env:
|
||||||
|
# Skip native module rebuild - register-scheme can't cross-compile
|
||||||
|
# It's only used by NSIS installer for URL protocol registration
|
||||||
|
ELECTRON_BUILDER_SKIP_NATIVE_REBUILD: "true"
|
||||||
run: npx electron-builder --win --publish never
|
run: npx electron-builder --win --publish never
|
||||||
|
|
||||||
- name: Upload to Release
|
- name: Upload to Release
|
||||||
|
|||||||
Reference in New Issue
Block a user