@@ -132,6 +132,10 @@ jobs:
132
132
--output-signature spin.sig \
133
133
${{ matrix.config.targetDir }}/spin${{ matrix.config.extension }}
134
134
135
+ - name : Generate manifest schema
136
+ if : matrix.config.os == 'ubuntu-22.04' && matrix.config.arch == 'amd64'
137
+ run : ${{ matrix.config.targetDir }}/spin${{ matrix.config.extension }} maintenance generate-manifest-schema -o manifest.schema.json
138
+
135
139
- name : package release assets
136
140
if : runner.os != 'Windows'
137
141
shell : bash
@@ -167,6 +171,13 @@ jobs:
167
171
with :
168
172
name : spin-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}
169
173
path : _dist/spin-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.zip
174
+
175
+ - name : Upload schema as GitHub artifact
176
+ if : matrix.config.os == 'ubuntu-22.04' && matrix.config.arch == 'amd64'
177
+ uses : actions/upload-artifact@v4
178
+ with :
179
+ name : manifest.schema.json
180
+ path : manifest.schema.json
170
181
171
182
checksums :
172
183
name : generate release checksums
@@ -206,13 +217,20 @@ jobs:
206
217
steps :
207
218
- uses : actions/checkout@v3
208
219
209
- - name : download release assets
220
+ - name : download binaries for release assets
210
221
uses : actions/download-artifact@v4
211
222
with :
212
223
pattern : spin-*
213
224
path : _dist
214
225
merge-multiple : true
215
226
227
+ - name : download schema for release assets
228
+ uses : actions/download-artifact@v4
229
+ with :
230
+ pattern : manifest.schema.json
231
+ path : _dist
232
+ merge-multiple : true
233
+
216
234
- name : check if pre-release
217
235
shell : bash
218
236
run : |
0 commit comments