-
-
Notifications
You must be signed in to change notification settings - Fork 225
49 lines (42 loc) · 1.14 KB
/
Copy pathbuild-docs.yml
File metadata and controls
49 lines (42 loc) · 1.14 KB
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
name: Build Documentation
on:
push:
branches: [ "ctan" ]
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run l3build check
uses: xu-cheng/texlive-action@v3
with:
run: |
apk add --no-cache diffutils
l3build check -q -H --show-log-on-error
- name: Upload Test Logs
uses: actions/upload-artifact@v4
with:
name: test
path: build/test*/*.diff
retention-days: 3
doc:
runs-on: ubuntu-latest
needs: check
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run l3build doc
uses: xu-cheng/texlive-action@v3
with:
run: |
tlmgr update --self
tlmgr repository add https://mirror.ctan.org/systems/texlive/tlcontrib tlcontrib
tlmgr pinning add tlcontrib "*"
tlmgr install classico
l3build doc
- name: Upload Documentation
uses: actions/upload-artifact@v4
with:
name: documentation
path: build/doc/*.pdf