File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44jobs :
55 release :
6- name : Release - ${{ matrix.platform.os_name }}
7- if : startsWith( github.ref, 'refs/tags/v' ) || github.ref == 'refs/tags/test-release'
6+ name : Release - ${{ matrix.platform.target }}
7+ if : startsWith( github.ref, 'refs/tags/v' )
88 strategy :
99 matrix :
1010 platform :
@@ -29,11 +29,18 @@ jobs:
2929 # name: server-Darwin-x86_64.tar.gz
3030 # command: both
3131
32- - release_for : Linux-x86_64
33- os : windows-latest
32+ - release_for : Linux-x86_64 MUSL
33+ os : ubuntu-20.04
3434 target : x86_64-unknown-linux-musl
35- bin : server.exe
36- name : server-linux-x86_64.zip
35+ bin : server
36+ name : server-linux-x86_64-musl.zip
37+ command : both
38+
39+ - release_for : Linux-x86_64 GNU
40+ os : ubuntu-20.04
41+ target : x86_64-unknown-linux-gnu
42+ bin : server
43+ name : server-linux-x86_64-gnu.zip
3744 command : both
3845
3946
5158 - name : Publish release artifacts
5259 uses : actions/upload-artifact@v3
5360 with :
54- name : server- ${{ matrix.platform.os_name }}
61+ name : ${{ matrix.platform.name }}
5562 path : " server*"
5663 if : github.ref == 'refs/tags/test-release'
5764 - name : Publish GitHub release
You can’t perform that action at this time.
0 commit comments