From 062cc75dc709047038f7b328f6964a123000461b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Grome=C5=A1?= Date: Sat, 22 Aug 2020 11:55:06 +0200 Subject: [PATCH] [CI] Fixed expression evaluation --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ce021fa4..7054e972 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,25 +24,25 @@ jobs: steps: - name: Install arduino-cli - if: ${{ env.run-build }} + if: ${{ env.run-build == 'true' }} run: | mkdir -p ~/.local/bin echo "::add-path::~/.local/bin" curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=~/.local/bin sh - name: Install platform - if: ${{ env.run-build }} + if: ${{ env.run-build == 'true' }} run: | arduino-cli core update-index arduino-cli core install ${{ matrix.platform }} echo "::set-env name=WARNINGS::all" - name: Checkout - if: ${{ env.run-build }} + if: ${{ env.run-build == 'true' }} uses: actions/checkout@v2 - name: Build all examples - if: ${{ env.run-build }} + if: ${{ env.run-build == 'true' }} run: | for example in $(find $PWD/examples -name '*.ino' | sort); do # check whether to skip this sketch