forked from ease-crc/soma
-
Notifications
You must be signed in to change notification settings - Fork 1
64 lines (54 loc) · 1.41 KB
/
documentation.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
56
57
58
59
60
61
62
63
64
name: Documentation
on:
workflow_run:
workflows: ["Evaluation"]
types:
- completed
jobs:
vocabulary:
name: SOMA Vocabulary
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./docs/vocab/
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Download OWL file
uses: actions/download-artifact@v4
with:
path: ./build/owl/current
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
name: SOMA Files for Documentation
- name: Copy
run: |
cp ./Makefile ../../
cp ./SOMA-vocabulary.tex ../../
cp ./owl_reader.py ../../
- name: Build
uses: ./.github/actions/pythonlatex
with:
args: make
- name: Upload
uses: actions/upload-artifact@v4
with:
name: SOMA Vocabulary
path: ./SOMA-vocabulary.pdf
handbook:
name: NEEM Handbook
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Build
uses: docker://blang/latex:ubuntu
with:
args: make -f ./docs/NEEM-handbook/Makefile
- name: Upload
uses: actions/upload-artifact@v1
with:
name: NEEM Handbook
path: ./docs/NEEM-handbook/main.pdf