Skip to content

Commit b5b6054

Browse files
committed
Check for failure
1 parent 8432207 commit b5b6054

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/check.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ jobs:
2424
with:
2525
bibfile: test/consistent.bib
2626
- name: Check test/inconsistent.bib
27-
# inconsistent.bib will trigger a failure, but the overall action should pass
28-
# We include this step for manual inspection
2927
continue-on-error: true
3028
uses: ./
29+
id: inconsistent
3130
with:
3231
bibfile: test/inconsistent.bib
32+
- name: inconsistent failed?
33+
if: steps.inconsistent.outcome == 'success'
34+
run: exit 1

0 commit comments

Comments
 (0)