From 5690cea2193c1758b3e2929639ab8e35207dacdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Grome=C5=A1?= Date: Sat, 22 Aug 2020 15:19:16 +0200 Subject: [PATCH] [CI] Try to fix skip path with format CI_FORCE_BUILD --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5c72f9f5..0d29b2db 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} =~ ${{ format("{0}", 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