From 8243a803ab48b3b10355577adbca856786543358 Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Tue, 18 Jul 2023 11:01:57 -0700 Subject: [PATCH] Update workflow --- .gitea/workflows/compile.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/compile.yaml b/.gitea/workflows/compile.yaml index eb2fc50..a0f420f 100644 --- a/.gitea/workflows/compile.yaml +++ b/.gitea/workflows/compile.yaml @@ -10,8 +10,10 @@ jobs: uses: actions/checkout@v3 with: submodules: recursive - - name: Install dependencies - run: apt update && apt install -y flatpak-builder flatpak && flatpak install -y --noninteractive org.freedesktop.Platform//22.08 org.freedesktop.Sdk//22.08 + - name: Install flatpak and flatpak-builder + run: apt update && apt install -y flatpak-builder flatpak + - name: Add flathub repo and install flatpak dependencies \ + run: flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo && flatpak install -y --noninteractive org.freedesktop.Platform//22.08 org.freedesktop.Sdk//22.08 - name: Build project run: flatpak-builder build-flatpak com.experimentalcraft.NekoPlayer.yml --repo ./flatpak-repo #- uses: actions/upload-artifact@v3