@@ -257,19 +257,8 @@ jobs:
257
257
258
258
build-release-windows :
259
259
260
- if : startsWith(github.ref, 'refs/tags/')
261
-
262
260
needs :
263
- - ci-gcc
264
- - ci-clang
265
261
- ci-msvc
266
- - ci-macos
267
- - ci-scan-build
268
- - ci-java
269
- - ci-wasm
270
- - ci-jsonly
271
- - ci-ios-app
272
- - ci-android-app
273
262
274
263
runs-on : windows-2019
275
264
@@ -291,6 +280,7 @@ jobs:
291
280
7z a gs1encoders-windows-libs.zip gs1encoders.h gs1encoders.lib gs1encoders.dll ../../../../gs1-syntax-dictionary.txt
292
281
293
282
- name : Store Windows development libs
283
+ if : startsWith(github.ref, 'refs/tags/')
294
284
uses : actions/upload-artifact@v2
295
285
with :
296
286
name : windows-libs
@@ -302,6 +292,7 @@ jobs:
302
292
7z a gs1encoders-windows-console-app.zip gs1encoders-app.exe gs1encoders.dll ../../../../gs1-syntax-dictionary.txt
303
293
304
294
- name : Store Windows console app
295
+ if : startsWith(github.ref, 'refs/tags/')
305
296
uses : actions/upload-artifact@v2
306
297
with :
307
298
name : windows-console-app
@@ -313,6 +304,7 @@ jobs:
313
304
7z a gs1encoders-windows-gui-app.zip gs1encoders-dotnet-app.exe ../../gs1encoders.dll ../../../../../../c-lib/gs1-syntax-dictionary.txt
314
305
315
306
- name : Store Windows GUI app
307
+ if : startsWith(github.ref, 'refs/tags/')
316
308
uses : actions/upload-artifact@v2
317
309
with :
318
310
name : windows-gui-app
@@ -321,19 +313,9 @@ jobs:
321
313
322
314
build-release-linux :
323
315
324
- if : startsWith(github.ref, 'refs/tags/')
325
-
326
316
needs :
327
317
- ci-gcc
328
318
- ci-clang
329
- - ci-msvc
330
- - ci-macos
331
- - ci-scan-build
332
- - ci-java
333
- - ci-wasm
334
- - ci-jsonly
335
- - ci-ios-app
336
- - ci-android-app
337
319
338
320
runs-on : ubuntu-latest
339
321
@@ -350,26 +332,16 @@ jobs:
350
332
tar cvzf gs1encoders-linux-app.tgz gs1encoders-linux.bin gs1-syntax-dictionary.txt
351
333
352
334
- name : Store Linux build
335
+ if : startsWith(github.ref, 'refs/tags/')
353
336
uses : actions/upload-artifact@v2
354
337
with :
355
338
name : linux-app
356
339
path : src/c-lib/build/gs1encoders-linux-app.tgz
357
340
358
341
build-release-wasm :
359
342
360
- if : startsWith(github.ref, 'refs/tags/')
361
-
362
343
needs :
363
- - ci-gcc
364
- - ci-clang
365
- - ci-msvc
366
- - ci-macos
367
- - ci-scan-build
368
- - ci-java
369
344
- ci-wasm
370
- - ci-jsonly
371
- - ci-ios-app
372
- - ci-android-app
373
345
374
346
runs-on : ubuntu-latest
375
347
@@ -387,6 +359,7 @@ jobs:
387
359
tar cvzf gs1encoders-wasm-app.tgz gs1encoder-wasm.wasm gs1encoder-wasm.mjs gs1encoder.mjs example.html example.mjs example.node.mjs
388
360
389
361
- name : Store WASM build
362
+ if : startsWith(github.ref, 'refs/tags/')
390
363
uses : actions/upload-artifact@v2
391
364
with :
392
365
name : wasm-app
@@ -395,19 +368,8 @@ jobs:
395
368
396
369
build-release-jsonly :
397
370
398
- if : startsWith(github.ref, 'refs/tags/')
399
-
400
371
needs :
401
- - ci-gcc
402
- - ci-clang
403
- - ci-msvc
404
- - ci-macos
405
- - ci-scan-build
406
- - ci-java
407
- - ci-wasm
408
372
- ci-jsonly
409
- - ci-ios-app
410
- - ci-android-app
411
373
412
374
runs-on : ubuntu-latest
413
375
@@ -425,6 +387,7 @@ jobs:
425
387
tar cvzf gs1encoders-jsonly-app.tgz gs1encoder-wasm.mjs.mem gs1encoder-wasm.mjs gs1encoder.mjs example.html example.mjs example.node.mjs
426
388
427
389
- name : Store JSONLY build
390
+ if : startsWith(github.ref, 'refs/tags/')
428
391
uses : actions/upload-artifact@v2
429
392
with :
430
393
name : jsonly-app
@@ -437,9 +400,21 @@ jobs:
437
400
438
401
create-release :
439
402
403
+ if : startsWith(github.ref, 'refs/tags/')
404
+
440
405
runs-on : ubuntu-latest
441
406
442
407
needs :
408
+ - ci-gcc
409
+ - ci-clang
410
+ - ci-msvc
411
+ - ci-macos
412
+ - ci-scan-build
413
+ - ci-java
414
+ - ci-wasm
415
+ - ci-jsonly
416
+ - ci-ios-app
417
+ - ci-android-app
443
418
- build-release-linux
444
419
- build-release-windows
445
420
- build-release-wasm
0 commit comments