From 2e6c5abe5a4d6268363cc567a46a35fd4aa53aeb Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Thu, 11 Jan 2024 12:27:11 +0100 Subject: [PATCH] oh --- .github/workflows/beta.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/beta.yaml b/.github/workflows/beta.yaml index 0347430c94..0b929b7eab 100644 --- a/.github/workflows/beta.yaml +++ b/.github/workflows/beta.yaml @@ -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 \") @@ -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: |