bachelor-thesis/.github/workflows/build.yml
lukas 27f7414899
Some checks failed
Build LaTeX document / build_latex (push) Failing after 4s
use variables
2024-09-26 12:00:25 +00:00

19 lines
586 B
YAML

name: Build LaTeX document
on: [push]
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Build LaTeX Document
run: |
workdirr=${{ github.workspace }}
echo $workdirr
docker run --rm -v "$workdirr:/workdir" -w /workdir ghcr.io/xu-cheng/texlive-full:latest latexmk -pdf -xelatex -shell-escape /workdir/src/main.tex
- name: Upload PDF file
uses: actions/upload-artifact@v4
with:
name: PDF
path: src/main.pdf