Fix `find` invocation in GitLab CI config

This commit is contained in:
James Groom 2023-11-16 15:48:00 +10:00 committed by GitHub
parent b961aa2ec5
commit bb0d8f231d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ build_ext_projs:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: always
script:
- for d in $CI_PROJECT_DIR/ExternalProjects/*; do if [ -e "$d/build_release.sh" ] && (find "$d" -name '*.csproj' -maxdepth 1 -quit); then cd "$d" && ./build_release.sh; fi; done
- for d in $CI_PROJECT_DIR/ExternalProjects/*; do [ -e "$d/build_release.sh" -a "$(find "$d" -maxdepth 1 -name '*.csproj' -print -quit)" ] && cd "$d" && ./build_release.sh; fi; done
stage: test
build_ext_tools: