Skip to content

Workflow file for this run

name: Build
on:
push:
branches:
- 'main'
pull_request:
jobs:
# Build the example PDF
build-pdf:
runs-on: [ubuntu-22.04]
steps:
- name: Check out repository code
uses: actions/checkout@v4
# - name: Docker setup
# run: |
# docker pull maxkratz/texlive:2024
# - name: LaTeX compile
# run: |
# echo "Starting LaTeX compiling"
# docker run --rm -v $PWD:/data maxkratz/texlive:2024 latexmk -pdflatex -interaction=nonstopmode
# - name: Upload artifacts
# uses: actions/upload-artifact@v4
# with:
# name: document
# path: |
# main.pdf
# main.log
- name: Build PDF
uses: xu-cheng/latex-action@v3
with:
working_directory: thesis
root_file: main.tex
latexmk_shell_escape: true