-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (30 loc) · 1.07 KB
/
pdf.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
name: CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Compile without solutions
uses: dante-ev/[email protected]
with:
root_file: cs141-resit19.tex
args: -bibtex -pdf -latexoption=-file-line-error -latexoption=-interaction=nonstopmode -latexoption=-shell-escape -latexoption=-synctex=1
- name: Upload build artifact (without solutions)
uses: actions/upload-artifact@v2
with:
name: cs141-resit19.pdf
path: cs141-resit19.pdf
- name: Compile with solutions
uses: dante-ev/[email protected]
with:
root_file: cs141-resit19-solutions.tex
args: -bibtex -pdf -latexoption=-file-line-error -latexoption=-interaction=nonstopmode -latexoption=-shell-escape -latexoption=-synctex=1
- name: Upload build artifact (with solutions)
uses: actions/upload-artifact@v2
with:
name: cs141-resit19-solutions.pdf
path: cs141-resit19-solutions.pdf