This is an automated email from the ASF dual-hosted git repository.

pkarwasz pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/2.x by this push:
     new 839a6f1afc Upload Surefire Reports on error
839a6f1afc is described below

commit 839a6f1afc3edf1fa6ffb29778dda3e10628fc6c
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Wed Mar 15 11:09:11 2023 +0100

    Upload Surefire Reports on error
---
 .github/workflows/build.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 389e58da87..5e3cbe7362 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -70,6 +70,13 @@ jobs:
           JAVA_HOME: ${{ env.JAVA_HOME_8_X64 }}
         run: ./mvnw clean install
 
+      - name: Upload Surefire Reports
+        if: failure()
+        uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce 
  # 3.1.2
+        with:
+          name: surefire-reports-${{matrix.os}}
+          path: **/target/surefire-reports/*
+
       # `clean verify artifact:compare` is required to generate the build 
reproducibility report.
       # For details, see: 
https://maven.apache.org/guides/mini/guide-reproducible-builds.html#how-to-test-my-maven-build-reproducibility
       - name: Report build reproducibility

Reply via email to