Files
adiuva/.gitea/workflows/build.yaml
roberto ca40b220c5
Some checks failed
Release Electron App / release-desktop (push) Failing after 3m27s
change build
2026-03-03 15:22:00 +01:00

56 lines
1.4 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 mono-complete
- name: Install Dependencies
run: npm install
- name: Set version from tag
run: npm version "${GITEA_REF_NAME#v}" --no-git-tag-version
- name: Make App (Linux)
run: npm run make -- --platform=linux --arch=x64
- name: Initialize Wine
run: |
export WINEDEBUG=-all
export DISPLAY=
wineboot --init
env:
WINEDEBUG: '-all'
- name: Make App (Windows)
run: npm run make -- --platform=win32 --arch=x64
env:
WINEDEBUG: '-all'
- name: Create Gitea Release & Upload
uses: akkuman/gitea-release-action@v1
env:
NODE_OPTIONS: '--experimental-fetch'
with:
server_url: http://10.0.0.119:3000
files: |-
out/make/**/*.exe
out/make/**/*.zip
out/make/**/*.deb
out/make/**/*.rpm
token: ${{ gitea.token }}