-
Notifications
You must be signed in to change notification settings - Fork 3
32 lines (32 loc) · 929 Bytes
/
compile.yaml
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
name: Build LaTeX document
on: [push]
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: pdflatex 1
uses: dante-ev/latex-action@latest
with:
root_file: spatial-sector.tex
working_directory: paper/
compiler: pdflatex
args: -interaction=nonstopmode -shell-escape
- name: bibtex
uses: dante-ev/latex-action@latest
with:
root_file: spatial-sector.aux
compiler: bibtex
working_directory: paper/
args:
- name: pdflatex 2
uses: dante-ev/latex-action@latest
with:
root_file: spatial-sector.tex
compiler: pdflatex
working_directory: paper/
args: -interaction=nonstopmode -shell-escape
- uses: actions/upload-artifact@v2
with:
name: paper
path: paper/spatial-sector.pdf