This commit is contained in:
parent
efb665a724
commit
c76613da2b
1 changed files with 6 additions and 2 deletions
|
@ -22,8 +22,12 @@ jobs:
|
||||||
|
|
||||||
- name: compile LaTeX document
|
- name: compile LaTeX document
|
||||||
run: |
|
run: |
|
||||||
pdflatex -interaction=nonstopmode main.tex
|
pdflatex -interaction=nonstopmode main.tex || true
|
||||||
pdflatex -interaction=nonstopmode main.tex
|
pdflatex -interaction=nonstopmode main.tex || true
|
||||||
|
if [ ! -f main.pdf ]; then
|
||||||
|
echo "PDF was not generated."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
- name: capture PDF artifact
|
- name: capture PDF artifact
|
||||||
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue