Skip to content

Commit

Permalink
ci: 添加CI测试代码
Browse files Browse the repository at this point in the history
  • Loading branch information
wrm244 committed Jun 5, 2023
1 parent 235988b commit d826698
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test-tex.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build LaTeX document
on:
push:
branches: [ main ]
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v3
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v2
with:
root_file: main.tex
compiler: latexmk_use_xelatex
- name: Upload PDF file
uses: actions/upload-artifact@v3
with:
name: PDF
path: main.pdf

0 comments on commit d826698

Please sign in to comment.