undegraduate-thesis/.github/workflows/release-pdf-for-review.yml

22 lines
505 B
YAML
Raw Permalink Normal View History

2024-02-05 17:50:49 +00:00
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
2024-02-05 17:58:26 +00:00
uses: actions/upload-artifact@v4
2024-02-05 17:50:49 +00:00
with:
name: undergraduate-thesis-for-review
path: main.pdf