moderncv/.github/workflows/build-pdf.yml
Stephan Lachnit 51e77f8564
run workflow on PRs
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2021-02-07 13:50:22 +01:00

26 lines
724 B
YAML

name: Build template
on: [push, pull_request]
jobs:
build-template:
name: Build template
runs-on: ubuntu-20.04
steps:
- name: Install TeX Live
run: sudo apt update && sudo apt install texlive-full fonts-font-awesome
- 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 pdf
uses: actions/upload-artifact@v2
with:
name: template.pdf
path: ./template.pdf
- name: Upload log
uses: actions/upload-artifact@v2
with:
name: template.log
path: ./template.log