Update flatpak-lint.yml

This commit is contained in:
Jeffry Samuel 2024-08-04 19:03:44 -06:00 committed by GitHub
parent cdadde60ce
commit 988ee7b7e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,14 +14,20 @@ jobs:
sudo apt-get update
sudo apt-get install -y flatpak flatpak-builder
# Add the Flathub repository
flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
- name: Install GNOME SDK 46
run: |
flatpak install --user gnome org.gnome.Sdk//46 -y
- name: Checkout code
uses: actions/checkout@v2
- name: Lint Flatpak Manifest
- name: Install Flatpak
run: |
flatpak run org.flatpak.Builder --force-clean --sandbox --user --install --install-deps-from=flathub --ccache --mirror-screenshots-url=https://dl.flathub.org/media/ --repo=repo builddir com.jeffser.Alpaca.json
- name: Lint Flatpak Manifest
run: |
flatpak run --command=flatpak-builder-lint org.flatpak.Builder manifest com.jeffser.Alpaca.json
flatpak run --command=flatpak-builder-lint org.flatpak.Builder repo repo