Skip to content

Commit 7585d62

Browse files
authored
first try on automatic Doc building.
1 parent e145b47 commit 7585d62

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/build_docs.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Building Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
paths:
8+
- 'wiki/**'
9+
- '!wiki/README.md'
10+
11+
jobs:
12+
build_wiki:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Setup Python 3.7
17+
uses: actions/setup-python@v1
18+
with:
19+
python-version: 3.7
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install --upgrade pip setuptools
23+
python -m pip install -r requirements.txt
24+
- name: Build pages
25+
working-directory: './wiki'
26+
run: |
27+
mkdocs build
28+
build_javadoc:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v2
32+
- name: Setup Java 8
33+
uses: actions/setup-java@v1
34+
with:
35+
java-version: 1.8
36+
- name: Build Javadoc
37+
run: |
38+
./gradlew javadoc

0 commit comments

Comments
 (0)