chore(ci): try to fix the flatpak-builder command not found issue

This commit is contained in:
Neko Ayaka
2025-10-31 03:55:43 +08:00
parent a26c0b6db3
commit 2b66d17f84
+8
View File
@@ -135,6 +135,14 @@ jobs:
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm'
run: pnpm run -F @proj-airi/stage-tamagotchi build && pnpm -F @proj-airi/stage-tamagotchi exec electron-builder build ${{ matrix.builder-args }}
- name: Setup Flatpak (Linux Only)
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm' }}
run: |
sudo apt update
sudo apt install -y flatpak flatpak-builder elfutils
flatpak --version
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- name: Build Flatpak (Linux Only) # Flatpak
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm' }}
working-directory: ./apps/stage-tamagotchi