Files
adiuva/.gitea/workflows/build.yaml
roberto edcabd76e7
Some checks failed
Release Electron App / release-desktop (push) Failing after 2m16s
Update .gitea/workflows/build.yaml
2026-03-02 21:15:34 +00:00

44 lines
1.1 KiB
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 System Dependencies for Linux Makers
run: |
apt-get update
apt-get install -y fakeroot dpkg
- 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 }}