From d91bab0db2315f6c26edc7516b201059a41a635d Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Tue, 18 Jul 2023 19:28:18 -0700 Subject: [PATCH] Update workflow --- .gitea/workflows/compile.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/compile.yaml b/.gitea/workflows/compile.yaml index 55345c4..0901120 100644 --- a/.gitea/workflows/compile.yaml +++ b/.gitea/workflows/compile.yaml @@ -13,13 +13,13 @@ jobs: - name: Install system dependencies run: apt update && apt install -y flatpak-builder flatpak python3-aiohttp python3-tenacity libostree-1-1 python3-gi gir1.2-ostree-1.0 wget - 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 + run: flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo - name: Build project - run: flatpak-builder build-flatpak com.experimentalcraft.NekoPlayer.yml --repo ./flatpak-repo + run: flatpak-builder --install-deps-from flathub build-flatpak com.experimentalcraft.NekoPlayer.yml --repo ./flatpak-repo - name: Download uploading script run: wget https://raw.githubusercontent.com/flatpak/flat-manager/9401efbdc0d6bd489507d8401c567ba219d735d5/flat-manager-client -O flat-manager-client && chmod +x flat-manager-client - name: Upload to flatpak repo - run: export REPO_TOKEN=$FLATPAK_TOKEN && ./flat-manager-client push --commit $(./flat-manager-client create https://flatpak.complecwaft.com nightly) ./flatpak-repo/ + run: ./flat-manager-client -v --token $FLATPAK_TOKEN push --commit --publish $(./flat-manager-client -v --token $FLATPAK_TOKEN create http://192.168.122.249:8080 nightly) ./flatpak-repo/ #- uses: actions/upload-artifact@v3 # with: # name: build