diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index f8b8e87..1c41bfb 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -14,17 +14,10 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Install TeX Live packages - run: | - sudo apt-get update - sudo apt-get install -y --no-install-recommends \ - texlive-latex-base \ - texlive-latex-recommended \ - texlive-latex-extra \ - texlive-fonts-recommended - - name: Compile LaTeX document - run: pdflatex -interaction=nonstopmode -halt-on-error resume.tex + uses: xu-cheng/latex-action@v3 + with: + root_file: resume.tex - name: Upload PDF artifact uses: actions/upload-artifact@v3