Add GitHub Action

Closes #4.

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
This commit is contained in:
Stephan Lachnit 2020-10-20 16:36:02 +02:00 committed by GitHub
commit d5e9b1d936
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

23
.github/workflows/build-pdf.yml vendored Normal file
View file

@ -0,0 +1,23 @@
name: Build pdf
on: push
jobs:
build-pdf:
name: Build pdf
runs-on: ubuntu-latest
steps:
- name: Install TeX Live
run: sudo apt install texlive-full
- name: Checkout code
uses: actions/checkout@v2
- name: Build pdf
run: latexmk -pdflua ./template.tex
- name: Scan log
run: texloganalyser -w ./template.log
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: template-pdf
path: ./template.pdf
name: template-log
path: ./template.log