moderncv/.github/workflows/build-pdf.yml
Stephan Lachnit ab6f21433c CI: use thomasweise/docker-texlive-full
Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
2023-03-03 16:26:35 +02:00

35 lines
696 B
YAML

name: Build template
on:
push:
branches:
- master
pull_request:
registry_package:
jobs:
build-template:
name: Build template
runs-on: ubuntu-latest
container:
image: thomasweise/docker-texlive-full:latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build pdf
run: latexmk -pdflua ./template.tex
- name: Upload pdf
uses: actions/upload-artifact@v2
with:
name: template.pdf
path: ./template.pdf
- name: Upload log
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: template.log
path: ./template.log