Skip to content

Commit 66638c7

Browse files
committed
github: Use outcome, not conclusion, to check whether a continue-on-error step failed
1 parent c2e7472 commit 66638c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test_actions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
project-directory: test-project
3535
expected-version: 1.0.1
3636
- name: Error if the previous step didn't fail
37-
if: steps.expected-failure.conclusion != 'failure'
37+
if: steps.expected-failure.outcome != 'failure'
3838
run: |
3939
echo "::error title=Test Failure::The previous step did not fail as expected."
4040
exit 1

0 commit comments

Comments
 (0)