From d6515099d14f75bda34736d048095a478e7b5d5c Mon Sep 17 00:00:00 2001 From: XargonWan Date: Thu, 14 Dec 2023 14:54:39 +0100 Subject: [PATCH] WORKFLOW: added appdata validation step on main [skip ci] --- .github/workflows/main-selfhosted.yml | 5 ++++- automation_tools/manifest-validation.sh | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100755 automation_tools/manifest-validation.sh diff --git a/.github/workflows/main-selfhosted.yml b/.github/workflows/main-selfhosted.yml index fbe4a894..2bc0e1e4 100644 --- a/.github/workflows/main-selfhosted.yml +++ b/.github/workflows/main-selfhosted.yml @@ -53,7 +53,10 @@ jobs: - name: Check versions (main only) id: check_version_string run: "automation_tools/main_version_checker.sh" - continue-on-error: true + + - name: Check versions (main only) + id: check_version_string + run: "automation_tools/manifest-validation.sh" - name: "[DEBUG] Outputting manifest" run: cat net.retrodeck.retrodeck.yml diff --git a/automation_tools/manifest-validation.sh b/automation_tools/manifest-validation.sh new file mode 100755 index 00000000..f14efde8 --- /dev/null +++ b/automation_tools/manifest-validation.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +flatpak install -y flathub org.flatpak.Builder + +flatpak run --command=appstream-util org.flatpak.Builder validate -v net.retrodeck.retrodeck.appdata.xml \ No newline at end of file