-
Notifications
You must be signed in to change notification settings - Fork 4
38 lines (34 loc) · 824 Bytes
/
build.yml
File metadata and controls
38 lines (34 loc) · 824 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
38
name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_call: # to reuse by release workflow
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code.
uses: actions/checkout@v3
- name: Build PDFs from tex files
uses: xu-cheng/latex-action@v2
with:
root_file: |
Satzung.tex
- name: Build PDFs from md files
uses: baileyjm02/markdown-to-pdf@v1.2.0
with:
input_dir: /
output_dir: /
# Default is true, can set to false to only get PDF files
build_html: false
- name: Upload PDFs temporary.
uses: actions/upload-artifact@v4
with:
name: PDFs
path: "*.pdf"
retention-days: 5
if-no-files-found: error