Update actions/upload-artifact to v4 #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build LaTeX PDF | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git Repository | |
uses: actions/checkout@v4 | |
- 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@v4 | |
with: | |
name: PDF | |
path: thesis.pdf |