From 2b66d17f84f08ea57c0bc030d4aea2651f477130 Mon Sep 17 00:00:00 2001 From: Neko Ayaka Date: Fri, 31 Oct 2025 03:55:43 +0800 Subject: [PATCH] chore(ci): try to fix the flatpak-builder command not found issue --- .github/workflows/release-tamagotchi.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release-tamagotchi.yml b/.github/workflows/release-tamagotchi.yml index 5d839a887..53e70c47d 100644 --- a/.github/workflows/release-tamagotchi.yml +++ b/.github/workflows/release-tamagotchi.yml @@ -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