ci: fix SIGPIPE in verify step (grep -q → grep > /dev/null)
Some checks failed
Build Windows Release / Build Windows x64 Release on Linux (MinGW + Qt + OpenCV) (push) Failing after 4m2s

This commit is contained in:
luochen570
2026-05-31 02:33:01 +08:00
parent 7fb902567e
commit f915ba24bc

View File

@@ -115,9 +115,9 @@ jobs:
set -euo pipefail set -euo pipefail
test -s "artifacts/$PACKAGE" test -s "artifacts/$PACKAGE"
test -s "artifacts/$PACKAGE.sha256" test -s "artifacts/$PACKAGE.sha256"
unzip -l "artifacts/$PACKAGE" | grep -q 'chengnan/chengnan.exe' unzip -l "artifacts/$PACKAGE" | grep -E 'chengnan/chengnan.exe' > /dev/null
unzip -l "artifacts/$PACKAGE" | grep -q 'chengnan/platforms/qwindows.dll' unzip -l "artifacts/$PACKAGE" | grep -E 'chengnan/platforms/qwindows.dll' > /dev/null
unzip -l "artifacts/$PACKAGE" | grep -qE 'chengnan/.*opencv.*\.dll' unzip -l "artifacts/$PACKAGE" | grep -E 'chengnan/.*opencv.*\.dll' > /dev/null
sha256sum -c "artifacts/$PACKAGE.sha256" sha256sum -c "artifacts/$PACKAGE.sha256"
- name: Upload package to repository release - name: Upload package to repository release