Files
adiuva/.gitea/workflows/build.yaml
roberto 3f5fdba661
Some checks failed
Release Electron App / release-desktop (push) Failing after 1m34s
fix: switch to electron-forge make command
2026-03-02 18:32:12 +01:00

37 lines
1015 B
YAML

name: Release Electron App
run-name: Releasing ${{ gitea.ref_name }}
on:
push:
tags:
- 'v*'
jobs:
release-desktop:
runs-on: ubuntu-latest
container:
image: electronuserland/builder:wine
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Install Dependencies
run: npm install
- name: Make App (Compile & Package)
# Usiamo il tuo script 'make' e gli diciamo di compilare per Linux e Windows
run: npm run make -- --platform=linux,win32 --arch=x64
- name: Create Gitea Release & Upload
uses: akkuman/gitea-release-action@v1
env:
NODE_OPTIONS: '--experimental-fetch'
with:
# Electron Forge di default salva gli eseguibili finiti nella cartella 'out/make/'
files: |-
out/make/**/*.exe
out/make/**/*.zip
out/make/**/*.deb
out/make/**/*.rpm
out/make/**/*.AppImage
token: ${{ gitea.token }}