Skip to content

Commit

Permalink
Simplify conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
oxve committed Sep 18, 2024
1 parent 04b3d48 commit e583705
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/on_host_test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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}}/
Expand Down

0 comments on commit e583705

Please sign in to comment.