From ffba0d641d3e6a1bd7500bf952f1d6732c11a396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Mur=C3=A7a?= <106257713+leomurca@users.noreply.github.com> Date: Mon, 5 Feb 2024 14:50:49 -0300 Subject: [PATCH] Create release-pdf-for-review.yml --- .github/workflows/release-pdf-for-review.yml | 21 ++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/release-pdf-for-review.yml diff --git a/.github/workflows/release-pdf-for-review.yml b/.github/workflows/release-pdf-for-review.yml new file mode 100644 index 0000000..ee8a30b --- /dev/null +++ b/.github/workflows/release-pdf-for-review.yml @@ -0,0 +1,21 @@ +name: Compile Latex and release PDF for review + +on: + pull_request: + branches: [ "main" ] + +jobs: + build_latex: + runs-on: ubuntu-latest + steps: + - name: Set up Git repository + uses: actions/checkout@v3 + - name: Compile LaTeX document + uses: xu-cheng/latex-action@v3 + with: + root_file: main.tex + - name: Upload PDF file + uses: actions/upload-artifact@v3 + with: + name: undergraduate-thesis-for-review + path: main.pdf