File tree Expand file tree Collapse file tree 3 files changed +23
-17
lines changed
Expand file tree Collapse file tree 3 files changed +23
-17
lines changed Original file line number Diff line number Diff line change 11name : CI Build
22
3- on : [push, pull_request]
3+ on :
4+ push :
5+ branches : ['master', 'main']
6+ pull_request :
7+ workflow_dispatch :
48
59env :
6- PYTHON_VERISON_DEFAULT : " 3.10"
10+ PYTHON_VERSION_DEFAULT : " 3.10"
711
812jobs :
913 build :
10-
1114 runs-on : ubuntu-latest
12-
1315 steps :
1416 - name : Checkout
1517 # see https://github.com/actions/checkout
@@ -22,24 +24,20 @@ jobs:
2224 distribution : ' zulu'
2325 java-package : jdk
2426 - name : Build with Maven
25- run : |
26- cd tools
27- mvn -B package --file pom.xml
28- cd ..
27+ run : mvn -B package --file pom.xml
28+ working-directory : tools
2929 - name : Setup Python Environment
3030 # see https://github.com/actions/setup-python
3131 uses : actions/setup-python@v4
3232 with :
33- python-version : ${{ env.PYTHON_VERISON_DEFAULT }}
33+ python-version : ${{ env.PYTHON_VERSION_DEFAULT }}
3434 architecture : ' x64'
3535 - name : Generate JSON Schema documentation
36- run : |
37- cd docgen/json
38- ./gen.sh
36+ run : ./gen.sh
37+ working-directory : docgen/json
3938 - name : Generate XML Schema documentation
40- run : |
41- cd docgen/xml
42- ./gen.sh
39+ run : ./gen.sh
40+ working-directory : docgen/xml
4341 - name : Archive JSON Schema documentation
4442 # https://github.com/actions/upload-artifact
4543 uses : actions/upload-artifact@v3
Original file line number Diff line number Diff line change 22
33name : JS CI
44
5- on : [push, pull_request, workflow_dispatch]
5+ on :
6+ push :
7+ branches : ['master', 'main']
8+ pull_request :
9+ workflow_dispatch :
610
711concurrency :
812 group : ${{ github.workflow }}-${{ github.ref }}
Original file line number Diff line number Diff line change 22
33name : PHP CI
44
5- on : [push, pull_request, workflow_dispatch]
5+ on :
6+ push :
7+ branches : ['master', 'main']
8+ pull_request :
9+ workflow_dispatch :
610
711defaults :
812 run :
You can’t perform that action at this time.
0 commit comments