-
Notifications
You must be signed in to change notification settings - Fork 7
52 lines (52 loc) · 1.61 KB
/
latex.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Build LaTeX templates
on:
push:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 4 * * 1' # Run at 0400 every Monday.
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v3
- name: Compile Letter
uses: xu-cheng/latex-action@v3
with:
root_file: template_letter.tex
latexmk_use_xelatex: true
- name: Upload Letter PDF
uses: actions/upload-artifact@v3
with:
name: PDF
path: template_letter.pdf
- name: Compile Portrait Poster
uses: xu-cheng/latex-action@v3
with:
root_file: template_poster_portrait.tex
latexmk_use_xelatex: true
- name: Upload Portrait Poster PDF
uses: actions/upload-artifact@v3
with:
name: PDF
path: template_poster_portrait.pdf
- name: Compile Landscape Poster
uses: xu-cheng/latex-action@v3
with:
root_file: template_poster_landscape.tex
latexmk_use_xelatex: true
- name: Upload Landscape Poster PDF
uses: actions/upload-artifact@v3
with:
name: PDF
path: template_poster_landscape.pdf
- name: Compile Presentation
uses: xu-cheng/latex-action@v3
with:
root_file: template_presentation.tex
latexmk_use_xelatex: true
- name: Upload Presentation PDF
uses: actions/upload-artifact@v3
with:
name: PDF
path: template_presentation.pdf