Update workflow

This commit is contained in:
Zachary Hall 2023-07-18 20:30:23 -07:00
parent df1fea343d
commit 3a8a14fc37

View file

@ -15,7 +15,9 @@ jobs:
- name: Cache Gradle packages - name: Cache Gradle packages
- name: Cache system dependencies - name: Cache system dependencies
uses: actions/cache@v3 uses: actions/cache@v3
id: cache-system
with: with:
key: cache-system
path: /var/cache/apt path: /var/cache/apt
- name: Add flathub repo and install flatpak dependencies - 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
@ -23,7 +25,9 @@ jobs:
run: flatpak-builder --install-deps-from flathub 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: Cache flatpak dependencies - name: Cache flatpak dependencies
uses: actions/cache@v3 uses: actions/cache@v3
id: cache-flatpak
with: with:
key: cache-flatpak
path: /var/lib/flatpak/ path: /var/lib/flatpak/
- name: Download uploading script - 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 run: wget https://raw.githubusercontent.com/flatpak/flat-manager/9401efbdc0d6bd489507d8401c567ba219d735d5/flat-manager-client -O flat-manager-client && chmod +x flat-manager-client