From b8d0338c5e1f6000d336acbcde1811069a322025 Mon Sep 17 00:00:00 2001 From: Thomas Barber Date: Mon, 13 Jan 2025 12:08:46 +0000 Subject: [PATCH] Fixing conditional in GitHub action --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 53a23242a779..2aec08a76917 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -82,9 +82,8 @@ jobs: python3 js/src/tests/parse_output.py - name: Upload Report - if: ${{ matrix.mozconfig }} == "Base" uses: actions/upload-artifact@v4 # upload test results - if: success() || failure() # run this step even if previous step failed + if: (${{ matrix.mozconfig }} == "Base") && (success() || failure()) # run this step even if previous step failed with: name: test-results path: build/jstest_output.xml