CI #2
Workflow file for this run
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 | |
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 |