From 7f87b09a963dcc4f1890ee74193feed6bb73abec Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Thu, 29 Jul 2021 08:48:12 +0200 Subject: [PATCH] Ensure we include hs_err* files when build failed (#11525) Motivation: We the build failed we should ensure we also include hs_err* files as it may have failed due a native crash Modifications: Adjust path matching to include hs_err as well Result: Easier to debug native crashes --- .github/workflows/ci-build.yml | 4 +++- .github/workflows/ci-pr.yml | 9 ++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index ad5448f81c..77a329535e 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -74,4 +74,6 @@ jobs: if: ${{ failure() }} with: name: target - path: "**/target/" + path: | + **/target/surefire-reports/ + **/hs_err*.log diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index bc641348b7..8d9012c16b 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -81,7 +81,9 @@ jobs: if: ${{ failure() }} with: name: build-pr-windows-target - path: "**/target/" + path: | + **/target/surefire-reports/ + **/hs_err*.log build-pr-aarch64: name: linux-aarch64-verify-native @@ -196,5 +198,6 @@ jobs: if: ${{ failure() }} with: name: build-${{ matrix.setup }}-target - path: "**/target/" - + path: | + **/target/surefire-reports/ + **/hs_err*.log