From a398336811883c580d72ac96c8c80f1d6f324c10 Mon Sep 17 00:00:00 2001 From: vaisakhkannan <133869023+vaisakhkannan@users.noreply.github.com> Date: Mon, 5 Aug 2024 12:07:01 +0530 Subject: [PATCH] Update build.yaml --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d6ac1c0be..002b01bc0 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -120,7 +120,7 @@ jobs: working-directory: ./liberty-tools-intellij run: bash ./src/test/resources/ci/scripts/run.sh - name: 'Archive Test logs and reports' - if: ${{ failure() }} + if: ${{ failure() && steps.run_tests.conclusion == 'failure' }} uses: actions/upload-artifact@v4.3.4 with: name: ${{ matrix.reportName }}-LTI-${{ env.REF_LTI_TAG != '' && env.REF_LTI_TAG || 'default' }}-LSP4IJ-${{ env.LSP4IJ_BRANCH }}