Skip to content

Commit b6da6f5

Browse files
authored
Ensure we include hs_err* files when build failed (netty#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
1 parent a2e34ec commit b6da6f5

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/ci-build.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,6 @@ jobs:
7474
if: ${{ failure() }}
7575
with:
7676
name: target
77-
path: "**/target/"
77+
path: |
78+
**/target/surefire-reports/
79+
**/hs_err*.log

.github/workflows/ci-pr.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ jobs:
8181
if: ${{ failure() }}
8282
with:
8383
name: build-pr-windows-target
84-
path: "**/target/"
84+
path: |
85+
**/target/surefire-reports/
86+
**/hs_err*.log
8587
8688
build-pr-aarch64:
8789
name: linux-aarch64-verify-native
@@ -196,5 +198,6 @@ jobs:
196198
if: ${{ failure() }}
197199
with:
198200
name: build-${{ matrix.setup }}-target
199-
path: "**/target/"
200-
201+
path: |
202+
**/target/surefire-reports/
203+
**/hs_err*.log

0 commit comments

Comments
 (0)