feat: Implement Electron frontend project setup, configure AI permissions, and establish Gitea CI/CD for app releases.
Some checks failed
Build and Release / build-and-release (push) Failing after 28m48s

This commit is contained in:
Bryan1029384756
2026-02-11 18:14:15 -06:00
parent b0f889cb68
commit 5a02bd35cc
3 changed files with 33 additions and 4 deletions

View File

@@ -14,7 +14,12 @@ jobs:
- name: Install required tools
run: |
apt-get update && apt-get install -y jq xvfb
apt-get update && apt-get install -y jq xvfb flatpak flatpak-builder
- name: Setup Flatpak runtimes
run: |
flatpak 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
- name: Cache npm and Electron
uses: actions/cache@v4
@@ -23,6 +28,8 @@ jobs:
~/.npm
~/.cache/electron
~/.cache/electron-builder
~/.local/share/flatpak
/var/lib/flatpak
Frontend/Electron/node_modules
node_modules
key: npm-electron-${{ hashFiles('package-lock.json', 'Frontend/Electron/package-lock.json') }}
@@ -88,7 +95,8 @@ jobs:
for file in Frontend/Electron/dist/latest*.yml \
Frontend/Electron/dist/*.exe \
Frontend/Electron/dist/*.exe.blockmap \
Frontend/Electron/dist/*.AppImage; do
Frontend/Electron/dist/*.AppImage \
Frontend/Electron/dist/*.flatpak; do
[ -f "$file" ] || continue
FILENAME=$(basename "$file")
ENCODED_NAME=$(echo -n "$FILENAME" | jq -sRr @uri)