Skip to content

Commit

Permalink
Create ci4zh_CN.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
crazydogen authored Sep 22, 2020
1 parent dbee7c3 commit 5aee0d5
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci4zh_CN.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build resume tex files in zh-CN

on:
push:
branches:
- zh_CN

jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v2

- name: Compile LaTeX document
uses: xu-cheng/latex-action@v2
with:
root_file: |
./resume.tex
./resume_photo.tex
./resume-zh_CN.tex
latexmk_use_xelatex: True
post_compile: "latexmk -c"

- name: Upload pdf
uses: actions/upload-artifact@v2
with:
name: resume_pdf_zh_CN
path: ./resume*.pdf

0 comments on commit 5aee0d5

Please sign in to comment.