diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 80c8ec2ed6..0ef9606013 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 cc2ad89314..b1033f3f73 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