diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f3272be..05a9736 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,10 +6,10 @@ jobs: steps: - name: Set up Git repository uses: actions/checkout@v4 - - name: Compile LaTeX document - uses: xu-cheng/latex-action@v3 - with: - root_file: src/main.tex + - name: Build LaTeX Document + run: | + docker run --rm -v ${{ github.workspace }}:/workdir -w /workdir ghcr.io/xu-cheng/texlive-full:latest latexmk -pdf -xelatex -shell-escape src/main.tex + - name: Upload PDF file uses: actions/upload-artifact@v4 with: