@@ -202,13 +202,17 @@ jobs:
202
202
tar -czvf mas-cli-${arch}-linux.tar.gz --owner=0 --group=0 -C dist/${arch}/ .
203
203
done
204
204
205
- - name : Upload the artifacts
205
+ - name : Upload aarch64 archive
206
206
207
207
with :
208
- name : binaries
209
- path : |
210
- mas-cli-aarch64-linux.tar.gz
211
- mas-cli-x86_64-linux.tar.gz
208
+ name : mas-cli-aarch64-linux
209
+ path : mas-cli-aarch64-linux.tar.gz
210
+
211
+ - name : Upload x86_64 archive
212
+
213
+ with :
214
+ name : mas-cli-x86_64-linux
215
+ path : mas-cli-x86_64-linux.tar.gz
212
216
213
217
build-image :
214
218
name : Build and push Docker image
@@ -384,15 +388,16 @@ jobs:
384
388
if : startsWith(github.ref, 'refs/tags/')
385
389
runs-on : ubuntu-latest
386
390
needs :
387
- - build-binaries
391
+ - assemble-archives
388
392
- build-image
389
393
- syn2mas
390
394
steps :
391
395
- name : Download the artifacts from the previous job
392
396
uses : actions/download-artifact@v4
393
397
with :
394
- name : binaries
398
+ pattern : mas-cli-*
395
399
path : artifacts
400
+ merge-multiple : true
396
401
397
402
- name : Prepare a release
398
403
uses : softprops/action-gh-release@v2
@@ -446,19 +451,19 @@ jobs:
446
451
name : Update the unstable release
447
452
runs-on : ubuntu-24.04
448
453
needs :
449
- - build-binaries
454
+ - assemble-archives
450
455
- build-image
451
456
if : github.ref == 'refs/heads/main'
452
457
453
458
permissions :
454
459
contents : write
455
-
456
460
steps :
457
461
- name : Download the artifacts from the previous job
458
462
uses : actions/download-artifact@v4
459
463
with :
460
- name : binaries
464
+ pattern : mas-cli-*
461
465
path : artifacts
466
+ merge-multiple : true
462
467
463
468
- name : Update unstable git tag
464
469
0 commit comments