-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dbee7c3
commit 5aee0d5
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
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 |