Skip to content

Bump xu-cheng/latex-action from 2 to 3 #36

Bump xu-cheng/latex-action from 2 to 3

Bump xu-cheng/latex-action from 2 to 3 #36

Workflow file for this run

name: Build LaTeX PDF
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out Git Repository
uses: actions/checkout@v3
- name: Build LaTeX files
uses: xu-cheng/latex-action@v3
with:
root_file: thesis.tex
latexmk_use_lualatex: true
extra_system_packages: msttcorefonts-installer
pre_compile: |
update-ms-fonts
fc-cache -f
- name: Check if PDF file is generated
run: |
file thesis.pdf | grep -q ' PDF '
- name: Upload PDF
uses: actions/upload-artifact@v3
with:
name: PDF
path: thesis.pdf