Skip to content

Commit

Permalink
quotes for the lulz
Browse files Browse the repository at this point in the history
  • Loading branch information
flub committed Jan 11, 2024
1 parent 5bcf7cf commit a7fd2d0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/beta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,15 @@ jobs:
- name: Extract test results
run: |
printf '${{ toJSON(needs) }}\n'
result=$(echo '${{ toJSON(needs) }}' | jq .tests.result | tr -d \")
result=$(echo '${{ toJSON(needs) }}' | jq -r .tests.result)
echo TESTS_RESULT=$result
echo TESTS_RESULT=$result >>$GITHUB_ENV
echo "TESTS_RESULT=$result" >>"$GITHUB_ENV"
- run: |
echo ${{ env.TEST_RESULT == 'failure' }}
echo ${{ env.TEST_RESULT != 'failure' }}
- name: Notify discord on failure
uses: n0-computer/discord-webhook-notify@v1
if: ${{ always() && env.TEST_RESULT == 'failure' }}
if: ${{ env.TEST_RESULT == 'failure' }}
with:
severity: error
details: |
Expand Down

0 comments on commit a7fd2d0

Please sign in to comment.