Skip to content

Commit

Permalink
ci(github): use appstreamcli to validate Linux metadata file
Browse files Browse the repository at this point in the history
We were previously using appstream-util (from appstream-glib), which is
essentially deprecated now:

https://github.com/hughsie/appstream-glib (first line in their README)
  • Loading branch information
guihkx authored and trollixx committed Feb 25, 2024
1 parent db3e941 commit de213a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ jobs:
ninja-build
qtbase5-dev
qtwebengine5-dev
appstream-util
appstream
- name: Upload AppImage
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion pkg/appimage/appimage-amd64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +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
- appstreamcli validate $TARGET_APPDIR/usr/share/metainfo/org.zealdocs.zeal.appdata.xml

AppDir:
app_info:
Expand Down

0 comments on commit de213a7

Please sign in to comment.