Create release-pdf-for-review.yml

This commit is contained in:
Leonardo Murça 2024-02-05 14:50:49 -03:00 committed by GitHub
parent 4f817048ba
commit ffba0d641d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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