Skip to content

Commit 4eecc13

Browse files
committed
feat: now pdf is compiling in actions
1 parent 41df006 commit 4eecc13

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/latex.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Build LaTeX PDF
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build-pdf:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Compile LaTeX
16+
uses: xu-cheng/latex-action@v3
17+
with:
18+
root_file: main.tex
19+
20+
- name: Upload PDF artifact
21+
uses: actions/upload-artifact@v4
22+
with:
23+
name: thesis-pdf
24+
path: main.pdf

0 commit comments

Comments
 (0)