-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 892 Bytes
/
build-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
38
39
40
name: building
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: git checkout
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: install dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt
- name: generate tex
run: python generator.py tim0-12432 -p
- name: generate pdf
uses: xu-cheng/latex-action@2.2.1
with:
root_file: generated.tex
working_directory: output
args: -f -pdf -file-line-error -halt-on-error -interaction=nonstopmode
- name: upload artifact
uses: actions/upload-artifact@v2
with:
name: summary_tim0-12432
path: |
output/generated.pdf
output/generated.log
if-no-files-found: error