Skip to content

Commit 4f0575b

Browse files
authored
Add GitHub action for PDF creation
1 parent 337327b commit 4f0575b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/pdf.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Build Thesis PDF
2+
on: [push, pull_request]
3+
jobs:
4+
build_thesis_pdf:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Set up Git repository
8+
uses: actions/checkout@v4
9+
- name: Compile LaTeX document
10+
uses: xu-cheng/latex-action@v3
11+
with:
12+
root_file: bth-thesis.tex
13+
- name: Upload PDF file
14+
uses: actions/upload-artifact@v4
15+
with:
16+
name: PDF
17+
path: bth-thesis.pdf

0 commit comments

Comments
 (0)