Skip to content

Commit

Permalink
fail build jobs when LaTeX build fails
Browse files Browse the repository at this point in the history
  • Loading branch information
dpo committed Nov 11, 2023
1 parent 88e627d commit 44b85e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-latex-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ jobs:
name: Diff-Build-Failed--Here-are-the-Logs
path: |
paper/**/*.log
- name: Fail job if build failed
if: steps.compileLaTeXdiff.outcome == 'failure'
run: exit 1
3 changes: 3 additions & 0 deletions .github/workflows/build-latex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@ jobs:
name: Build-Failed--Here-are-the-Logs
path: |
paper/**/*.log
- name: Fail job if build failed
if: steps.compileLaTeXdocument.outcome == 'failure'
run: exit 1

0 comments on commit 44b85e0

Please sign in to comment.