feat: Add Gitea Actions workflow to build and release the Electron application for Linux and Windows.
Some checks failed
Build and Release / build-and-release (push) Failing after 34m5s

This commit is contained in:
Bryan1029384756
2026-02-10 20:21:33 -06:00
parent 5e8d887fb6
commit ab740cc809

View File

@@ -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 }}