bachelor-thesis/.github/workflows/build.yml
lukas-heiligenbrunner 2721df4e1a
Some checks failed
Build LaTeX document / build_latex (push) Failing after 4s
readd workdir
2024-09-27 13:19:08 +02:00

18 lines
550 B
YAML

name: Build LaTeX document
on: [push]
jobs:
build_latex:
runs-on: dind
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:/build" ghcr.io/xu-cheng/texlive-full:latest latexmk -pdf -xelatex -shell-escape /build/src/main.tex
- name: Upload PDF file
uses: actions/upload-artifact@v4
with:
name: PDF
path: src/main.pdf