1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

CI step "Ensure LF line endings": Don't create subshell for grouped commands

This commit is contained in:
Alexander Wilms
2023-10-22 17:44:51 +00:00
parent 0ff423ff0e
commit 7e9a3ea042

View File

@@ -151,7 +151,7 @@ jobs:
find . -path ./.git -prune -o -path ./AI/FuzzyLite -prune -o -path ./android -prune \
-o -path ./osx -prune -o -path ./test/googletest -prune -o -type f \
-not -name '*.png' -and -not -name '*.vcxproj*' -and -not -name '*.props' \
-not -name '*.wav' -not -name '*.ico' -print0 | ( ! xargs -0 grep -l -z -P '\r\n' )
-not -name '*.wav' -not -name '*.ico' -print0 | { ! xargs -0 grep -l -z -P '\r\n'; }
- name: Validate JSON
# the Python yaml module doesn't seem to work on mac-arm