PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust
Release: check the OCR models in the app tar.gz by name (the CLI tar.gz broke the glob)
Brandon Thomas29b0b0c572cf
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 2f6c3a4fd..b6e11f883 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -224,7 +224,8 @@ jobs:dpkg-deb --contents dist/release/*.deb | grep -E 'usr/bin/pdfcraft$|metainfo|applications'# The OCR models (#103), where the installed app looks: <bin>/../share/pdfcraft/models.dpkg-deb --contents dist/release/*.deb | grep -E 'usr/share/pdfcraft/models/.+\.rten$'- tar -tzf dist/release/*.tar.gz | grep -E '/share/pdfcraft/models/.+\.rten$'+ # Named exactly: dist/release also holds the CLI-only tar.gz, and `tar -tzf a b` reads b as a member.+ tar -tzf "dist/release/pdfcraft-$PDFCRAFT_VERSION-linux-${{ matrix.arch }}.tar.gz" | grep -E '/share/pdfcraft/models/.+\.rten$'ldd target/release/pdfcraft# The CLI-only archive: the binary and its licences, and it runs.cli="dist/release/pdfcraft-cli-$PDFCRAFT_VERSION-linux-${{ matrix.arch }}.tar.gz"