From 8073ce66fb679e482d9fd6ef3981bb12579e84bf Mon Sep 17 00:00:00 2001 From: VintagePC <53943260+vintagepc@users.noreply.github.com> Date: Sun, 17 Sep 2023 19:45:24 -0400 Subject: [PATCH] Post comment anyway --- .github/workflows/build.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0d65204..3d60771 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -115,15 +115,13 @@ jobs: name: Coverage path: build/Coverage - - name: Report failure - if: steps.tests_run.outcome == 'failure' - run: echo ${{ steps.tests_run.outcome }} && test -n "" - - # We don't PR comment if the tests failed, because - # the report isn't a complete picture... - name: Add PR Comment if: ${{ github.event.pull_request }} uses: mshick/add-pr-comment@v2 with: message-path: build/Summary.txt message-id: "coverage" + + - name: Report failure + if: steps.tests_run.outcome == 'failure' + run: echo ${{ steps.tests_run.outcome }} && test -n ""