moderncv/.github/workflows/build-pdf.yml
Tianyi Zheng 6e315221ce Update GitHub actions
Update actions/checkout and actions/upload-artifact from v2 to v3

The v2 versions were Node.js 12 actions, which have been depreciated in favor of Node.js 16 actions
2023-05-22 14:40:23 +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@v3
- name: Build pdf
run: latexmk -pdflua ./template.tex
- name: Upload pdf
uses: actions/upload-artifact@v3
with:
name: template.pdf
path: ./template.pdf
- name: Upload log
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: template.log
path: ./template.log