Skip to content

Commit a861017

Browse files
fix(run-integration-test): Use correct conditional (#66)
Co-authored-by: Nick <[email protected]>
1 parent 6cc3437 commit a861017

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

run-integration-test/action.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,9 @@ runs:
314314

315315
- name: Extract Failed Tests
316316
id: failed-tests
317-
if: steps.integration-test.conclusion == 'failure'
317+
# The success() function is automatically used if no other status function is used.
318+
# See https://docs.github.com/en/actions/reference/workflows-and-actions/expressions#failure-with-conditions
319+
if: failure() && steps.integration-test.conclusion == 'failure'
318320
shell: bash
319321
run: |
320322
# Only look at the last 200 lines of test output which should be more than enough to capture all test results

0 commit comments

Comments
 (0)