Skip to content

Commit

Permalink
Use mikepenz/action-junit-report@v4 to publish junit reports
Browse files Browse the repository at this point in the history
  • Loading branch information
gnagy committed Nov 25, 2023
1 parent b99c713 commit 9531f70
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
branches: [ "master" ]

permissions:
checks: write
contents: read

jobs:
Expand Down Expand Up @@ -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'

0 comments on commit 9531f70

Please sign in to comment.