Skip to content

Commit

Permalink
github action rule syntax fix
Browse files Browse the repository at this point in the history
The ${{ }} are unnecessary in an if rule and caused wrong evaluation of the expression.
  • Loading branch information
samtygier-stfc committed Feb 25, 2022
1 parent d3b798a commit 65c7cdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down

0 comments on commit 65c7cdf

Please sign in to comment.