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:
parent
a2e34ec5e8
commit
b6da6f5828
4
.github/workflows/ci-build.yml
vendored
4
.github/workflows/ci-build.yml
vendored
@ -74,4 +74,6 @@ jobs:
|
|||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
with:
|
with:
|
||||||
name: target
|
name: target
|
||||||
path: "**/target/"
|
path: |
|
||||||
|
**/target/surefire-reports/
|
||||||
|
**/hs_err*.log
|
||||||
|
9
.github/workflows/ci-pr.yml
vendored
9
.github/workflows/ci-pr.yml
vendored
@ -81,7 +81,9 @@ jobs:
|
|||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
with:
|
with:
|
||||||
name: build-pr-windows-target
|
name: build-pr-windows-target
|
||||||
path: "**/target/"
|
path: |
|
||||||
|
**/target/surefire-reports/
|
||||||
|
**/hs_err*.log
|
||||||
|
|
||||||
build-pr-aarch64:
|
build-pr-aarch64:
|
||||||
name: linux-aarch64-verify-native
|
name: linux-aarch64-verify-native
|
||||||
@ -196,5 +198,6 @@ jobs:
|
|||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
with:
|
with:
|
||||||
name: build-${{ matrix.setup }}-target
|
name: build-${{ matrix.setup }}-target
|
||||||
path: "**/target/"
|
path: |
|
||||||
|
**/target/surefire-reports/
|
||||||
|
**/hs_err*.log
|
||||||
|
Loading…
Reference in New Issue
Block a user