moderncv/.github/workflows/build-pdf.yml
Stephan Lachnit 1428397a82
Run workflow on docker image (#87)
Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
2021-12-14 19:25:47 +01:00

35 lines
699 B
YAML

name: Build template
on:
push:
branches:
- main
pull_request:
registry_package:
jobs:
build-template:
name: Build template
runs-on: ubuntu-latest
container:
image: ghcr.io/moderncv/debian-texlive-docker:main
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