From 4c5f5dbf4b111b727a096359cb2b83da01050f76 Mon Sep 17 00:00:00 2001 From: dennisvang <29799340+dennisvang@users.noreply.github.com> Date: Wed, 12 Nov 2025 16:26:19 +0100 Subject: [PATCH] add step to upload surefire reports as github artifacts --- .github/workflows/maven-verify.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml index d1712ee..26af545 100644 --- a/.github/workflows/maven-verify.yml +++ b/.github/workflows/maven-verify.yml @@ -112,3 +112,11 @@ jobs: # [2]: https://docs.github.com/en/actions/sharing-automations/reusing-workflows#limitations name: Run maven verify run: mvn --batch-mode --update-snapshots --fail-fast ${{ inputs.mvn-options }} verify + + - # https://github.com/actions/upload-artifact + name: Upload surefire reports + if: failure() + uses: actions/upload-artifact@v5 + with: + name: "surefire-reports-${{ inputs.runner }}" + path: target/surefire-reports/**