diff --git a/.gitea/workflows/latex.yaml b/.gitea/workflows/latex.yaml new file mode 100644 index 0000000..55a0f9b --- /dev/null +++ b/.gitea/workflows/latex.yaml @@ -0,0 +1,17 @@ +name: Build LaTeX document +on: [push] +jobs: + build_latex: + runs-on: ubuntu-latest + steps: + - name: Set up Git repository + uses: actions/checkout@v4 + - name: Compile LaTeX document + uses: xu-cheng/latex-action@v3 + with: + root_file: thesis/Main.tex + - name: Upload PDF file + uses: actions/upload-artifact@v4 + with: + name: PDF + path: Main.pdf