Created
May 19, 2023 13:05
-
-
Save yuzhi535/9e20de1224f093de462becc235552978 to your computer and use it in GitHub Desktop.
generate latex pdf workflow (chinese)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build LaTeX document | |
on: [push] | |
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 | |
latexmk_use_xelatex: true | |
- name: Upload PDF file | |
uses: actions/upload-artifact@v3 | |
with: | |
name: PDF | |
path: main.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment