Skip to content

Commit b6da54f

Browse files
committed
DEBUG: Try success and failure conditions
1 parent 22dabdf commit b6da54f

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/boot-tests-nightly.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@ jobs:
2323
env:
2424
BASE_URL: https://stage.foo.redhat.com:1337
2525
run: |
26-
echo "Hello"
27-
continue-on-error: true
26+
echo "fail"
2827
2928
- name: Notify Slack on success
3029
uses: slackapi/slack-github-action@v2.1.1
31-
if: steps.playwright-tests.outcome == 'success'
30+
if: ${{ success() }}
3231
with:
3332
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
3433
webhook-type: incoming-webhook
@@ -52,7 +51,7 @@ jobs:
5251
5352
- name: Notify Slack on failure
5453
uses: slackapi/slack-github-action@v2.1.1
55-
if: steps.playwright-tests.outcome != 'success'
54+
if: ${{ failure() }}
5655
with:
5756
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
5857
webhook-type: incoming-webhook

0 commit comments

Comments
 (0)