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