From ab740cc809e8eec0ae45fa56e30e52dbd56bd0f3 Mon Sep 17 00:00:00 2001 From: Bryan1029384756 <23323626+Bryan1029384756@users.noreply.github.com> Date: Tue, 10 Feb 2026 20:21:33 -0600 Subject: [PATCH] feat: Add Gitea Actions workflow to build and release the Electron application for Linux and Windows. --- .gitea/workflows/release.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index f3f8fcf..5047fa0 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -16,11 +16,17 @@ jobs: with: node-version: 20 + - name: Cache Wine apt packages + uses: actions/cache@v4 + with: + path: /var/cache/apt/archives + key: wine-apt-${{ runner.os }} + - name: Install Wine (for Windows cross-compile) run: | sudo dpkg --add-architecture i386 sudo apt-get update - sudo apt-get install -y wine64 wine32 + sudo apt-get install -y wine64 wine32 xvfb - name: Install dependencies run: | @@ -37,7 +43,7 @@ jobs: run: | cd Frontend/Electron npm run build - npx electron-builder --linux --win + xvfb-run npx electron-builder --linux --win env: GH_TOKEN: ${{ secrets.CI_TOKEN }}