-
-
Notifications
You must be signed in to change notification settings - Fork 61
47 lines (42 loc) · 1.1 KB
/
cibuild.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
name: CI Build
on: [push, pull_request]
env:
PYTHON_VERISON_DEFAULT: "3.10"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: |
cd tools
mvn -B package --file pom.xml
cd ..
- name: Setup Python Environment
# see https://github.com/actions/setup-python
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERISON_DEFAULT }}
architecture: 'x64'
- name: Generate JSON Schema documentation
run: |
cd docgen/json
./gen.sh
- name: Generate XML Schema documentation
run: |
cd docgen/xml
./gen.sh
- name: Archive JSON Schema documentation
uses: actions/upload-artifact@v2
with:
name: JSON-Schema-documentation
path: docgen/json/docs
- name: Archive XML Schema documentation
uses: actions/upload-artifact@v2
with:
name: XML-Schema-documentation
path: docgen/xml/docs