[CI] Added quotes CI_FORCE_BUILD

This commit is contained in:
Jan Gromeš 2020-08-22 15:20:30 +02:00 committed by GitHub
parent 5690cea219
commit 6d3759412b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,7 +86,7 @@ jobs:
run: | run: |
for example in $(find $PWD/examples -name '*.ino' | sort); do for example in $(find $PWD/examples -name '*.ino' | sort); do
# check whether to skip this sketch # check whether to skip this sketch
if [ ! -z "${{ steps.prep.outputs.skip-path }}" ] && [[ ${example} =~ ${{ format("{0}", steps.prep.outputs.skip-path) }} ]]; then if [ ! -z "${{ steps.prep.outputs.skip-path }}" ] && [[ ${example} =~ ${{ format('"{0}"', steps.prep.outputs.skip-path) }} ]]; then
# skip sketch # skip sketch
echo -e "\n\033[1;33mSkipped ${example##*/} (matched with ${{ steps.prep.outputs.skip-path }})\033[0m"; echo -e "\n\033[1;33mSkipped ${example##*/} (matched with ${{ steps.prep.outputs.skip-path }})\033[0m";
else else