diff --git a/.gitea/workflows/xelatex.yaml b/.gitea/workflows/xelatex.yaml index fe09f1a..e959c81 100644 --- a/.gitea/workflows/xelatex.yaml +++ b/.gitea/workflows/xelatex.yaml @@ -16,12 +16,11 @@ jobs: - name: List files in the repository run: | ls ${{ gitea.workspace }} - - name: Install missing packages to build the pdf - run: | - apt install -y texlive-full - - name: Compile the PDF - run: | - latexmk -pdfxe cv.tex + - name: Compile LaTeX document + uses: xu-cheng/latex-action@v3 + with: + root_file: cv.tex + latexmk_use_xelatex: true - name: Archive artifacs uses: actions/upload-artifact@v4 with: