@@ -48,39 +48,26 @@ jobs:
4848 cmake -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/llvm-mos -G "Ninja" ..
4949 ninja install
5050
51- - name : Archive the POSIX SDKs .
52- if : ${{! startsWith(matrix.os, 'windows')}}
53- run : tar -cJvf llvm-mos.tar.xz llvm-mos
51+ - name : Archive the Linux SDK .
52+ if : startsWith(matrix.os, 'ubuntu')
53+ run : tar -cJvf llvm-mos-linux .tar.xz llvm-mos
5454 - name : Archive the Windows SDK.
5555 if : startsWith(matrix.os, 'windows')
56- run : 7z a llvm-mos.7z llvm-mos
56+ run : 7z a llvm-mos-windows.7z llvm-mos
57+ - name : Archive the Mac OS SDK.
58+ if : startsWith(matrix.os, 'macos')
59+ run : tar -cJvf llvm-mos-macos.tar.xz llvm-mos
5760
5861 - name : Upload the Linux SDK.
59- if : startsWith(matrix.os, 'ubuntu')
60- uses : softprops/action-gh-release@v1
61- with :
62- name : Prerelease Linux SDK
63- body : Prerelease llvm-mos SDK for Linux.
64- tag_name : linux-prerelease
65- files : llvm-mos.tar.xz
66- prerelease : true
67- - name : Upload the Windows SDK.
68- if : startsWith(matrix.os, 'windows')
69- uses : softprops/action-gh-release@v1
70- with :
71- name : Prerelease Windows SDK
72- body : Prerelease llvm-mos SDK for Windows.
73- tag_name : windows-prerelease
74- files : llvm-mos.7z
75- prerelease : true
76- - name : Upload the Mac SDK.
77- if : startsWith(matrix.os, 'macos')
7862 uses : softprops/action-gh-release@v1
7963 with :
80- name : Prerelease Mac OS SDK
81- body : Prerelease llvm-mos SDK for Mac OS.
82- tag_name : macos-prerelease
83- files : llvm-mos.tar.xz
64+ name : Prerelease SDK
65+ body : Prerelease llvm-mos SDK.
66+ tag_name : prerelease
67+ files : |
68+ llvm-mos-linux.tar.xz
69+ llvm-mos-windows.7z
70+ llvm-mos-macos.tar.xz
8471 prerelease : true
8572
8673 dispatch-test :
0 commit comments