fix: switch to electron-forge make command
Some checks failed
Release Electron App / release-desktop (push) Failing after 1m33s
Some checks failed
Release Electron App / release-desktop (push) Failing after 1m33s
This commit is contained in:
@@ -18,16 +18,18 @@ jobs:
|
|||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Make App (Compile & Package)
|
- name: Make App (Linux)
|
||||||
# Usiamo il tuo script 'make' e gli diciamo di compilare per Linux e Windows
|
run: npm run make -- --platform=linux --arch=x64
|
||||||
run: npm run make -- --platform=linux,win32 --arch=x64
|
|
||||||
|
- name: Make App (Windows)
|
||||||
|
# Sfrutta Wine (incluso nel container) per compilare per Windows
|
||||||
|
run: npm run make -- --platform=win32 --arch=x64
|
||||||
|
|
||||||
- name: Create Gitea Release & Upload
|
- name: Create Gitea Release & Upload
|
||||||
uses: akkuman/gitea-release-action@v1
|
uses: akkuman/gitea-release-action@v1
|
||||||
env:
|
env:
|
||||||
NODE_OPTIONS: '--experimental-fetch'
|
NODE_OPTIONS: '--experimental-fetch'
|
||||||
with:
|
with:
|
||||||
# Electron Forge di default salva gli eseguibili finiti nella cartella 'out/make/'
|
|
||||||
files: |-
|
files: |-
|
||||||
out/make/**/*.exe
|
out/make/**/*.exe
|
||||||
out/make/**/*.zip
|
out/make/**/*.zip
|
||||||
|
|||||||
Reference in New Issue
Block a user