-
Notifications
You must be signed in to change notification settings - Fork 1
55 lines (52 loc) · 1.3 KB
/
build.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Build
on:
push:
branches:
- wip
- master
- preview
- release
pull_request:
branches:
- master
jobs:
compile_pdf:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: "install dependencies"
run: |
set -ex
sudo apt -q update
sudo apt install -y texlive-latex-base texlive-latex-extra latexmk texlive-bibtex-extra biber
- name: "Compile PDF"
run: |
set -ex
cd spec
latexmk -pdflatex terminal-unicode-core
- name: "Uploading PDF"
uses: actions/upload-artifact@v2
with:
name: spec
path: spec/terminal-unicode-core.pdf
if-no-files-found: error
compile_md:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: "install dependencies"
run: |
set -ex
sudo apt -q update
sudo apt install -y pandoc
- name: "Compile markdown"
run: |
set -ex
cd spec
pandoc -s terminal-unicode-core.tex -o terminal-unicode-core.md
- name: "Uploading markdown"
uses: actions/upload-artifact@v2
with:
name: spec
path: spec/terminal-unicode-core.md
if-no-files-found: error