From be497b30e6a829d8d26bfe330472bf954ed6f4b3 Mon Sep 17 00:00:00 2001 From: guihkx <626206+guihkx@users.noreply.github.com> Date: Wed, 11 Oct 2023 20:05:02 -0300 Subject: [PATCH] ci(github): validate AppStream metadata --- .github/workflows/build-check.yaml | 1 + pkg/appimage/appimage-amd64.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/build-check.yaml b/.github/workflows/build-check.yaml index c010f77f..659d5b3d 100644 --- a/.github/workflows/build-check.yaml +++ b/.github/workflows/build-check.yaml @@ -202,6 +202,7 @@ jobs: ninja-build qtbase5-dev qtwebengine5-dev + appstream-util - name: Upload AppImage uses: actions/upload-artifact@v3 diff --git a/pkg/appimage/appimage-amd64.yaml b/pkg/appimage/appimage-amd64.yaml index b0c3fb1a..a9fdbbb6 100644 --- a/pkg/appimage/appimage-amd64.yaml +++ b/pkg/appimage/appimage-amd64.yaml @@ -4,6 +4,7 @@ script: - cmake -B $BUILD_DIR/cmake-build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo - cmake --build $BUILD_DIR/cmake-build - cmake --install $BUILD_DIR/cmake-build --prefix $TARGET_APPDIR/usr + - appstream-util validate-relax $TARGET_APPDIR/usr/share/metainfo/org.zealdocs.zeal.appdata.xml AppDir: app_info: