Skip to content

Merge pull request #1 from ccwang002/dependabot/github_actions/xu-che… #38

Merge pull request #1 from ccwang002/dependabot/github_actions/xu-che…

Merge pull request #1 from ccwang002/dependabot/github_actions/xu-che… #38

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