40
40
name : core-rendered
41
41
path : document/core/_build/html
42
42
43
- build-legacy-exceptions-spec :
44
- runs-on : ubuntu-latest
45
- steps :
46
- - name : Checkout repo
47
- uses : actions/checkout@v2
48
- with :
49
- submodules : " recursive"
50
- - name : Setup TexLive
51
- run : sudo apt-get update -y && sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
52
- - name : Setup Sphinx
53
- run : pip install six && pip install sphinx==5.1.0
54
- - name : Build main spec
55
- run : cd document/legacy/exceptions && make main
56
- - name : Upload artifact
57
- uses : actions/upload-artifact@v2
58
- with :
59
- name : legacy-exceptions-rendered
60
- path : document/legacy/exceptions/_build/html
61
-
62
43
build-js-api-spec :
63
44
runs-on : ubuntu-latest
64
45
steps :
89
70
name : web-api-rendered
90
71
path : document/web-api/index.html
91
72
73
+ build-code-metadata-spec :
74
+ runs-on : ubuntu-latest
75
+ needs : [build-core-spec]
76
+ steps :
77
+ - name : Checkout repo
78
+ uses : actions/checkout@v2
79
+ with :
80
+ submodules : " recursive"
81
+ - name : Setup TexLive
82
+ run : sudo apt-get update -y && sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
83
+ - name : Setup Sphinx
84
+ run : pip install six && pip install sphinx==5.1.0
85
+ - name : Build main spec
86
+ run : cd document/metadata/code && make main
87
+ - name : Upload artifact
88
+ uses : actions/upload-artifact@v2
89
+ with :
90
+ name : code-metadata-rendered
91
+ path : document/metadata/code/_build/html
92
+
93
+ build-legacy-exceptions-spec :
94
+ runs-on : ubuntu-latest
95
+ steps :
96
+ - name : Checkout repo
97
+ uses : actions/checkout@v2
98
+ with :
99
+ submodules : " recursive"
100
+ - name : Setup TexLive
101
+ run : sudo apt-get update -y && sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
102
+ - name : Setup Sphinx
103
+ run : pip install six && pip install sphinx==5.1.0
104
+ - name : Build main spec
105
+ run : cd document/legacy/exceptions && make main
106
+ - name : Upload artifact
107
+ uses : actions/upload-artifact@v2
108
+ with :
109
+ name : legacy-exceptions-rendered
110
+ path : document/legacy/exceptions/_build/html
111
+
92
112
publish-spec :
93
113
runs-on : ubuntu-latest
94
- needs : [build-core-spec, build-legacy-exceptions -spec, build-js -api-spec, build-web-api -spec]
114
+ needs : [build-core-spec, build-js-api -spec, build-web -api-spec, build-code-metadata-spec, build-legacy-exceptions -spec]
95
115
steps :
96
116
- name : Checkout repo
97
117
uses : actions/checkout@v2
@@ -102,11 +122,6 @@ jobs:
102
122
with :
103
123
name : core-rendered
104
124
path : _output/core
105
- - name : Download legacy exceptions spec artifact
106
- uses : actions/download-artifact@v2
107
- with :
108
- name : legacy-exceptions-rendered
109
- path : _output/legacy/exceptions
110
125
- name : Download JS API spec artifact
111
126
uses : actions/download-artifact@v2
112
127
with :
@@ -117,6 +132,16 @@ jobs:
117
132
with :
118
133
name : web-api-rendered
119
134
path : _output/web-api
135
+ - name : Download code metadata spec artifact
136
+ uses : actions/download-artifact@v2
137
+ with :
138
+ name : code-metadata-rendered
139
+ path : _output/metadata/code
140
+ - name : Download legacy exceptions spec artifact
141
+ uses : actions/download-artifact@v2
142
+ with :
143
+ name : legacy-exceptions-rendered
144
+ path : _output/legacy/exceptions
120
145
- name : Publish to GitHub Pages
121
146
if : github.ref == 'refs/heads/main'
122
147
uses : peaceiris/actions-gh-pages@v3
0 commit comments