From 997face4788f0f27bab819d33c618ec8be26562b Mon Sep 17 00:00:00 2001 From: Oscar Vestlie Date: Wed, 18 Sep 2024 20:51:19 +0000 Subject: [PATCH] Simplify conditionals --- .github/actions/on_host_test/action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/on_host_test/action.yaml b/.github/actions/on_host_test/action.yaml index f4fac30f3365..2276acdc37ed 100644 --- a/.github/actions/on_host_test/action.yaml +++ b/.github/actions/on_host_test/action.yaml @@ -96,7 +96,7 @@ runs: fi fi - name: Populate TAGS for unit test report - if: (success() || failure()) && steps.run-tests.outputs.test_type == 'unit_tests' + if: always() && steps.run-tests.outputs.test_type == 'unit_tests' shell: bash run: | # Set tags for test differentiation. @@ -105,7 +105,7 @@ runs: echo $tags > ${TEST_RESULTS_DIR}/${{ matrix.platform }}/TAGS - name: Archive unit test results uses: actions/upload-artifact@v3 - if: (success() || failure()) && steps.run-tests.outputs.test_type == 'unit_tests' + if: always() && steps.run-tests.outputs.test_type == 'unit_tests' with: name: unit-test-results path: ${{env.TEST_RESULTS_DIR}}/