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