-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI/Flatpak: Validate build before pushing
- Loading branch information
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,6 +85,10 @@ jobs: | |
cat .github/workflows/scripts/linux/flatpak/net.pcsx2.PCSX2.metainfo.xml | ||
flatpak run org.freedesktop.appstream-glib validate .github/workflows/scripts/linux/flatpak/net.pcsx2.PCSX2.metainfo.xml | ||
- name: Validate manifest | ||
run: | | ||
flatpak run --command=flatpak-builder-lint org.flatpak.Builder manifest .github/workflows/scripts/linux/flatpak/net.pcsx2.PCSX2.json | ||
- name: Build Flatpak | ||
uses: flatpak/flatpak-github-actions/[email protected] | ||
with: | ||
|
@@ -103,6 +107,14 @@ jobs: | |
run: | | ||
ostree commit --repo=repo --canonical-permissions --branch=screenshots/x86_64 flatpak_app/screenshots | ||
- name: Validate build directory | ||
run: | | ||
flatpak run --command=flatpak-builder-lint org.flatpak.Builder builddir flatpak_app | ||
- name: Validate repo | ||
run: | | ||
flatpak run --command=flatpak-builder-lint org.flatpak.Builder repo repo | ||
- name: Push to Flathub beta | ||
if: inputs.publish == true && inputs.branch == 'beta' | ||
uses: flatpak/flatpak-github-actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters