From 9531f706fa6b2e6f3bd60f1230cefdabb6655c25 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sat, 25 Nov 2023 12:27:33 +0100 Subject: [PATCH] Use mikepenz/action-junit-report@v4 to publish junit reports --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 355fcf4..bf7901f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,6 +7,7 @@ on: branches: [ "master" ] permissions: + checks: write contents: read jobs: @@ -38,10 +39,9 @@ jobs: with: arguments: build - # https://github.com/actions/upload-artifact - - name: Upload build reports - uses: actions/upload-artifact@v3 - if: success() || failure() # run this step even if previous step failed + # https://github.com/marketplace/actions/junit-report-action + - name: Publish Test Report + uses: mikepenz/action-junit-report@v4 + if: success() || failure() # always run even if the previous step fails with: - name: build-reports - path: build/reports/ + report_paths: 'build/test-results/test/TEST-*.xml'