mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
35 lines
696 B
YAML
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
|