moderncv/.github/workflows/build-pdf.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 22: mapping key "name" already defined at line 20 line 23: mapping key "path" already defined at line 21
Stephan Lachnit d5e9b1d936
Add GitHub Action
Closes #4.

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-10-20 16:36:02 +02:00

23 lines
582 B
YAML

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