Skip to content

Commit

Permalink
Replace multiline conditional with single line for issuing warnings i…
Browse files Browse the repository at this point in the history
…n PR workflow
  • Loading branch information
Matej Almasi committed Dec 9, 2024
1 parent 94c186b commit 0d294d2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/pr-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,7 @@ jobs:
continue-on-error: true

- name: Issue warnings for beta/ nightly fails
if: >
${{ steps.build-beta.outcome == 'failure' ||
steps.test-beta.outcome == 'failure' ||
steps.build-nightly.outcome == 'failure' ||
steps.test-nightly.outcome == 'failure'}}
if: ${{ steps.build-beta.outcome == 'failure' || steps.test-beta.outcome == 'failure' || steps.build-nightly.outcome == 'failure' || steps.test-nightly.outcome == 'failure' }}
uses: actions/github-script@v7
with:
script: |
Expand Down

0 comments on commit 0d294d2

Please sign in to comment.