mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Add GitHub Actions (#21)
Closes #4. Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
This commit is contained in:
parent
86533a0304
commit
dc1229f4bc
1 changed files with 26 additions and 0 deletions
26
.github/workflows/build-pdf.yml
vendored
Normal file
26
.github/workflows/build-pdf.yml
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
name: Build template
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build-template:
|
||||
name: Build template
|
||||
runs-on: ubuntu-20.04
|
||||
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 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue