From 7ee30b57089e6817a93832eb6492500579046724 Mon Sep 17 00:00:00 2001 From: Brad Ellis Date: Wed, 24 May 2023 12:22:10 -0700 Subject: [PATCH] we only need 1 each archive (#1284) --- .github/workflows/GHA-Scala-Functional-Tests.yaml | 2 +- .github/workflows/GHA-Unit-Tests.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/GHA-Scala-Functional-Tests.yaml b/.github/workflows/GHA-Scala-Functional-Tests.yaml index 2434332d6b..d0f594e48f 100644 --- a/.github/workflows/GHA-Scala-Functional-Tests.yaml +++ b/.github/workflows/GHA-Scala-Functional-Tests.yaml @@ -80,7 +80,7 @@ jobs: fail_ci_if_error: false #default is false, but being explicit about what to expect. - name: Capture Jacoco reports - if: success() + if: matrix.java-version == '11' uses: actions/upload-artifact@v3 with: name: jacoco-reports-java-${{ matrix.java-version }} diff --git a/.github/workflows/GHA-Unit-Tests.yaml b/.github/workflows/GHA-Unit-Tests.yaml index 2ee2c5c882..9cbb543038 100644 --- a/.github/workflows/GHA-Unit-Tests.yaml +++ b/.github/workflows/GHA-Unit-Tests.yaml @@ -70,7 +70,7 @@ jobs: fail_ci_if_error: false #default is false, but being explicit about what to expect. - name: Capture Jacoco reports - if: success() + if: matrix.java-version == '17' uses: actions/upload-artifact@v3 with: name: jacoco-reports-java-${{ matrix.java-version }}