Update workflow

This commit is contained in:
Zachary Hall 2023-07-18 19:53:14 -07:00
parent 6bec0c7631
commit 9f846a1960

View file

@ -13,9 +13,9 @@ 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
run: flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo && flatpak install org.freedesktop.Platform.GL.default//22.08
- name: Build project
run: flatpak-builder --install-deps-from flathub build-flatpak com.experimentalcraft.NekoPlayer.yml --repo ./flatpak-repo && flatpak install org.freedesktop.Platform.GL.default//22.08
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