From 65c7cdf6b7f44c6e090a0d671b65b0bb16959152 Mon Sep 17 00:00:00 2001 From: Sam Tygier Date: Fri, 25 Feb 2022 11:19:14 +0000 Subject: [PATCH] github action rule syntax fix The ${{ }} are unnecessary in an if rule and caused wrong evaluation of the expression. --- .github/workflows/conda.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml index 513acb3059e..26f98cefc7b 100644 --- a/.github/workflows/conda.yml +++ b/.github/workflows/conda.yml @@ -90,7 +90,7 @@ jobs: timeout-minutes: 15 - name: GUI Tests Screenshots Applitools - if: ${{ github.event_name == 'pull_request' }} + if: github.event_name == 'pull_request' shell: bash -l {0} env: APPLITOOLS_API_KEY: ${{ secrets.APPLITOOLS_API_KEY }} @@ -109,7 +109,7 @@ jobs: coveralls - name: publish 'unstable' package - if: ${{ github.event_name == 'push' }} && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release')) + if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release')) uses: ./.github/actions/publish-package with: label: unstable