Skip to content

Commit

Permalink
oh
Browse files Browse the repository at this point in the history
  • Loading branch information
flub committed Jan 11, 2024
1 parent e83a096 commit 2e6c5ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/beta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Extract test results
if: ${{ always() }}
run: |
printf '${{ toJSON(needs) }}\n'
result=$(echo '${{ toJSON(needs) }}' | jq .tests.result | tr -d \")
Expand All @@ -34,8 +35,9 @@ jobs:
echo $TEST_RESULTS
echo ${{ env.TEST_RESULTS == 'failure' }}
echo ${{ env.TEST_RESULTS != 'failure' }}
if: ${{ always() }}
- uses: n0-computer/discord-webhook-notify@v1
if: ${{ env.TEST_RESULTS == 'failure' }}
if: ${{ always() && env.TEST_RESULTS == 'failure' }}
with:
severity: error
details: |
Expand Down

0 comments on commit 2e6c5ab

Please sign in to comment.