Commit acf3f7c 1 parent 66f572c commit acf3f7c Copy full SHA for acf3f7c
File tree 1 file changed +36
-0
lines changed
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build Docs
2
+
3
+ on :
4
+ push :
5
+ branches : ['master', 'main']
6
+ pull_request :
7
+ workflow_dispatch :
8
+
9
+ env :
10
+ PYTHON_VERSION_DEFAULT : " 3.10"
11
+
12
+ jobs :
13
+ docs_json :
14
+ runs-on : ubuntu-latest
15
+ defaults :
16
+ run :
17
+ working-directory : docgen
18
+ steps :
19
+ - name : Checkout
20
+ # see https://github.com/actions/checkout
21
+ uses : actions/checkout@v4
22
+ - name : Setup Python Environment
23
+ # see https://github.com/actions/setup-python
24
+ uses : actions/setup-python@v5
25
+ with :
26
+ python-version : ${{ env.PYTHON_VERSION_DEFAULT }}
27
+ architecture : ' x64'
28
+ - name : Generate Schema documentation
29
+ run : ./gen.sh
30
+ - name : Archive Schema documentation
31
+ # https://github.com/actions/upload-artifact
32
+ uses : actions/upload-artifact@v4
33
+ with :
34
+ name : JSON-Schema-documentation
35
+ path : docgen/docs
36
+ if-no-files-found : error
You can’t perform that action at this time.
0 commit comments