Skip to content

Commit 95cafee

Browse files
committed
feat(actions): 初始尝试
1 parent 8d15ff2 commit 95cafee

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/build-pdf.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: cpp-linter
2+
on:
3+
pull_request:
4+
branches: [main, master]
5+
push:
6+
branches: [main, master]
7+
8+
jobs:
9+
build_latex:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Set up Git repository
13+
uses: actions/checkout@v4
14+
- name: Compile LaTeX document
15+
uses: xu-cheng/latex-action@v3
16+
with:
17+
root_file: |
18+
分析学/1-数学分析/main.tex
19+
latexmk_use_xelatex: true
20+
- name: Upload PDF file
21+
uses: actions/upload-artifact@v4
22+
with:
23+
name: PDF
24+
path: |
25+
分析学/1-数学分析.pdf

0 commit comments

Comments
 (0)