@@ -591,7 +591,7 @@ jobs:
591
591
592
592
593
593
594
- release_linux :
594
+ release_packages :
595
595
# Do not run the release procedure if any of the builds has failed
596
596
needs : [ build_linux, build_macos ]
597
597
runs-on : ubuntu-20.04
@@ -622,6 +622,9 @@ jobs:
622
622
zip -r9 anvill_ubuntu-20.04_packages.zip \
623
623
ubuntu-20.04*
624
624
625
+ zip -r9 anvill_macos-10.15_packages.zip \
626
+ macos-10.15*
627
+
625
628
- name : Upload the Ubuntu 18.04 packages
626
629
uses : actions/upload-release-asset@v1
627
630
@@ -646,37 +649,6 @@ jobs:
646
649
asset_name : anvill_ubuntu-20.04_packages.zip
647
650
asset_content_type : application/gzip
648
651
649
-
650
-
651
-
652
- release_macos :
653
- # Do not run the release procedure if any of the builds has failed
654
- needs : [ build_linux, build_macos ]
655
- runs-on : ' macos-10.15'
656
- if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
657
-
658
- steps :
659
- - name : Download all artifacts
660
- uses : actions/download-artifact@v2
661
-
662
- - name : Draft the new release
663
- id : create_release
664
- uses : actions/create-release@v1
665
-
666
- env :
667
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
668
-
669
- with :
670
- tag_name : ${{ github.ref }}
671
- release_name : Version ${{ github.ref }}
672
- draft : true
673
- prerelease : true
674
-
675
- - name : Group the packages by platform
676
- run : |
677
- zip -r9 anvill_macos-10.15_packages.zip \
678
- macos-10.15*
679
-
680
652
- name : Upload the macOS 10.15 packages
681
653
uses : actions/upload-release-asset@v1
682
654
0 commit comments