-
Notifications
You must be signed in to change notification settings - Fork 3
61 lines (56 loc) · 1.67 KB
/
test.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
53
54
55
56
57
58
59
60
61
name: LateX CV to PDF
on:
push:
branches:
- master
- develop
tags:
- '*'
pull_request:
branches: [ master ]
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v2
- name: Compile test LaTeX document with Maths
id: compile-latex-document-with-maths
uses: ./
with:
output_dir: output
main_latex_file: resources/test.tex
ctan_packages: amsmath amsfonts lua-uni-algos
- name: Upload PDF to the workflow tab
id: upload-workflow-tab-maths
uses: actions/upload-artifact@v2
with:
name: output
path: output/test.pdf
- name: Compile LaTeX document with fontawesome
id: compile-latex-document-with-fontawesome
uses: ./
with:
output_dir: output
main_latex_file: resources/test-fontawesome.tex
ctan_packages: moderncv colortbl fontawesome lua-uni-algos
- name: Upload PDF to the workflow tab
id: upload-workflow-tab-fontawesome
uses: actions/upload-artifact@v2
with:
name: output-fontawesome
path: output/test-fontawesome.pdf
- name: Compile LaTeX document with TOC
id: compile-latex-document-with-toc
uses: ./
with:
output_dir: output
main_latex_file: resources/test-toc.tex
ctan_packages: lua-uni-algos
toc: true
- name: Upload PDF to the workflow tab
id: upload-workflow-tab-toc
uses: actions/upload-artifact@v2
with:
name: output-toc
path: output/test-toc.pdf