mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Add GitHub Action
Closes #4. Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
This commit is contained in:
parent
86533a0304
commit
d5e9b1d936
1 changed files with 23 additions and 0 deletions
23
.github/workflows/build-pdf.yml
vendored
Normal file
23
.github/workflows/build-pdf.yml
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue