From 8568e9949d3513b97389c731ba06d8ee9bcc955e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Grome=C5=A1?= Date: Sat, 22 Aug 2020 15:57:16 +0200 Subject: [PATCH] [CI] skip fix CI_FORCE_BUILD --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6275a5c0..91f25e57 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -53,7 +53,7 @@ jobs: echo "::set-output name=skip-path::''" if [[ "${{ contains(matrix.board, 'esp8266:esp8266') }}" == "true" ]]; then echo "::set-output name=index-url::--additional-urls http://arduino.esp8266.com/stable/package_esp8266com_index.json" - echo "::set-output name=skip-path::'(HTTP|MQTT).*ino'" + echo "::set-output name=skip-path::(HTTP|MQTT).*ino" elif [[ "${{ contains(matrix.board, 'esp32:esp32') }}" == "true" ]]; then python -m pip install pyserial @@ -87,7 +87,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