forked from OST-HS20/EmbSW1
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (30 loc) · 862 Bytes
/
ci.yml
File metadata and controls
37 lines (30 loc) · 862 Bytes
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: Build Preview
on:
pull_request:
branches:
- master
- develop
jobs:
build:
runs-on: ubuntu-latest
env:
ZF_NAME: Zusammenfassung # The artifact and output name for this build.
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: OST-HS20/latex-parser-action@v1
id: latexparser
with:
latex_file: ${{env.ZF_NAME}}.tex
command_name: version
# Build latest Latex
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v2
with:
root_file: ${{env.ZF_NAME}}.tex
- name: Upload preview
uses: actions/upload-artifact@v2
with:
name: ${{env.ZF_NAME}} V${{steps.latexparser.outputs.command_value}}
path: ${{env.ZF_NAME}}.pdf