File tree 1 file changed +14
-5
lines changed
1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : Build template
2
- on : [push, pull_request]
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ registry_package :
3
9
4
10
jobs :
5
11
build-template :
6
12
name : Build template
7
13
runs-on : ubuntu-latest
14
+ container :
15
+ image : ghcr.io/moderncv/debian-texlive-docker:main
16
+
8
17
steps :
9
- - name : Install TeX Live
10
- run : sudo apt update && sudo apt install texlive-full fonts-font-awesome
11
18
- name : Checkout code
12
19
uses : actions/checkout@v2
20
+
13
21
- name : Build pdf
14
22
run : latexmk -pdflua ./template.tex
15
- - name : Scan log
16
- run : texloganalyser -wahv ./template.log
23
+
17
24
- name : Upload pdf
18
25
uses : actions/upload-artifact@v2
19
26
with :
20
27
name : template.pdf
21
28
path : ./template.pdf
29
+
22
30
- name : Upload log
31
+ if : ${{ always() }}
23
32
uses : actions/upload-artifact@v2
24
33
with :
25
34
name : template.log
You can’t perform that action at this time.
0 commit comments