ci: add Gitea Actions workflow to automate building and releasing the Electron application.
Some checks failed
Build and Release / build-and-release (push) Has been cancelled

This commit is contained in:
Bryan1029384756
2026-02-11 19:05:04 -06:00
parent 5a02bd35cc
commit 311964e4a8

View File

@@ -7,19 +7,21 @@ on:
jobs: jobs:
build-and-release: build-and-release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: electronuserland/builder:wine container:
image: electronuserland/builder:wine
options: --privileged
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install required tools - name: Install required tools
run: | run: |
apt-get update && apt-get install -y jq xvfb flatpak flatpak-builder apt-get update && apt-get install -y jq xvfb flatpak flatpak-builder elfutils xdg-dbus-proxy
- name: Setup Flatpak runtimes - name: Setup Flatpak runtimes
run: | run: |
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install -y flathub org.freedesktop.Platform//23.08 org.freedesktop.Sdk//23.08 org.electronjs.Electron2.BaseApp//23.08 flatpak --user install -y flathub org.freedesktop.Platform//23.08 org.freedesktop.Sdk//23.08 org.electronjs.Electron2.BaseApp//23.08
- name: Cache npm and Electron - name: Cache npm and Electron
uses: actions/cache@v4 uses: actions/cache@v4