We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47fe029 commit c2852d3Copy full SHA for c2852d3
1 file changed
.github/workflows/paper.yml
@@ -0,0 +1,37 @@
1
+name: Build LaTeX Paper
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ paths:
7
+ - 'paper/**'
8
+ - '.github/workflows/paper.yml'
9
+ pull_request:
10
11
12
13
14
+ workflow_dispatch:
15
16
+jobs:
17
+ build-paper:
18
+ runs-on: ubuntu-latest
19
20
+ steps:
21
+ - name: Checkout code
22
+ uses: actions/checkout@v4
23
24
+ - name: Compile LaTeX paper
25
+ uses: xu-cheng/latex-action@v3
26
+ with:
27
+ working_directory: paper
28
+ root_file: paper.tex
29
+ latexmk_use_xelatex: false
30
+ args: -pdf -file-line-error -halt-on-error -interaction=nonstopmode
31
32
+ - name: Upload paper PDF
33
+ uses: actions/upload-artifact@v4
34
35
+ name: paper-pdf
36
+ path: paper/paper.pdf
37
+ if-no-files-found: error
0 commit comments