Skip to content

Commit ab08144

Browse files
committed
Add workflows
1 parent 6c13f6d commit ab08144

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/compile.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Build LaTeX document
2+
on: [push]
3+
jobs:
4+
build_latex:
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: main.tex
13+
latexmk_use_xelatex: true
14+
- name: Upload PDF file
15+
uses: actions/upload-artifact@v4
16+
with:
17+
name: PDF
18+
path: main.pdf

0 commit comments

Comments
 (0)