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
This commit is contained in:
Norman Maurer 2021-07-29 08:48:12 +02:00 committed by GitHub
parent a2e34ec5e8
commit b6da6f5828
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 4 deletions

View File

@ -74,4 +74,6 @@ jobs:
if: ${{ failure() }}
with:
name: target
path: "**/target/"
path: |
**/target/surefire-reports/
**/hs_err*.log

View File

@ -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