-
Notifications
You must be signed in to change notification settings - Fork 20
117 lines (97 loc) · 2.71 KB
/
docs.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Publish Javadocs
on:
push:
branches: [ development ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nelonoel/[email protected]
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: 11
java-package: jdk
distribution: 'temurin'
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install GH import
run: |
python -m pip install --upgrade pip
pip install ghp-import
- name: Checkout NeuroML2
uses: actions/checkout@v4
with:
repository: NeuroML/NeuroML2
ref: development
path: NeuroML2
- name: Checkout org.lemsml
uses: actions/checkout@v4
with:
repository: LEMS/jLEMS
ref: development
path: jLEMS
- name: Checkout org.neuroml.model.injectingplugin
uses: actions/checkout@v4
with:
repository: NeuroML/org.neuroml.model.injectingplugin
ref: development
path: org.neuroml.model.injectingplugin
- name: Checkout org.neuroml1.model
uses: actions/checkout@v4
with:
repository: NeuroML/org.neuroml1.model
ref: development
path: org.neuroml1.model
- name: Checkout org.neuroml.model
uses: actions/checkout@v4
with:
repository: NeuroML/org.neuroml.model
ref: development
path: org.neuroml.model
- name: Checkout org.neuroml.export
uses: actions/checkout@v4
with:
repository: NeuroML/org.neuroml.export
ref: development
path: org.neuroml.export
- name: Checkout org.neuroml.import
uses: actions/checkout@v4
with:
repository: NeuroML/org.neuroml.import
ref: development
path: org.neuroml.import
- name: Install NeuroML deps
run: |
pushd jLEMS
mvn install
popd
pushd NeuroML2
mvn install
popd
pushd org.neuroml.model.injectingplugin
mvn install
popd
pushd org.neuroml1.model
mvn install
popd
pushd org.neuroml.model
mvn install
popd
pushd org.neuroml.export
mvn install
popd
pushd org.neuroml.import
mvn install
popd
- name: Build docs
run: |
mvn javadoc:javadoc
- name: Publish documentation on GH pages
run: |
ghp-import -f -m "Regenerate documentation" -b gh-pages -n -p target/site/apidocs