Files
adiuva/.gitea/workflows/build.yaml
roberto 0b69e2a311
Some checks failed
Release Electron App / release-desktop (push) Failing after 1m33s
fix: switch to electron-forge make command
2026-03-02 21:58:30 +01:00

39 lines
983 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 (Linux)
run: npm run make -- --platform=linux --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
uses: akkuman/gitea-release-action@v1
env:
NODE_OPTIONS: '--experimental-fetch'
with:
files: |-
out/make/**/*.exe
out/make/**/*.zip
out/make/**/*.deb
out/make/**/*.rpm
out/make/**/*.AppImage
token: ${{ gitea.token }}