@@ -82,13 +82,34 @@ jobs:
8282 with :
8383 name : linux-x64-binaries
8484 # https://github.com/actions/upload-artifact#permission-loss
85- - run : chmod +x bin/ecsact bin/ecsact_rtb
85+ - run : chmod +x bin/ecsact bin/ecsact_rtb bin/ecsact_lsp_server
8686 - run : tar -czf ecsact_sdk_${{github.ref_name}}_linux_x64.tar.gz bin include share
8787 - uses : actions/upload-artifact@v3
8888 with :
8989 name : linux-x64-archive
9090 path : ecsact_sdk_${{github.ref_name}}_linux_x64.tar.gz
9191
92+ amd64-deb-package :
93+ runs-on : ubuntu-latest
94+ needs :
95+ - common-dist
96+ - linux-x64-binaries
97+ steps :
98+ - uses : actions/download-artifact@v3
99+ with :
100+ name : common-dist
101+ - uses : actions/download-artifact@v3
102+ with :
103+ name : linux-x64-binaries
104+ # https://github.com/actions/upload-artifact#permission-loss
105+ - run : chmod +x bin/ecsact bin/ecsact_rtb bin/ecsact_lsp_server
106+ - shell : pwsh
107+ run : ./CreateDeb.ps1 -Version ${{github.ref_name}}
108+ - uses : actions/upload-artifact@v3
109+ with :
110+ name : amd64-deb-package
111+ path : ecsact_sdk_${{github.ref_name}}_amd64.deb
112+
92113 windows-x64-archive :
93114 runs-on : ubuntu-latest
94115 needs :
@@ -123,6 +144,20 @@ jobs:
123144 fail_on_unmatched_files : true
124145 files : ecsact_sdk_${{github.ref_name}}_linux_x64.tar.gz
125146
147+ release-upload-amd64-deb-package :
148+ runs-on : ubuntu-latest
149+ needs :
150+ - release-draft
151+ - amd64-deb-package
152+ steps :
153+ - uses : actions/download-artifact@v3
154+ with :
155+ name : amd64-deb-package
156+ - uses : softprops/action-gh-release@v1
157+ with :
158+ fail_on_unmatched_files : true
159+ files : ecsact_sdk_${{github.ref_name}}_amd64.deb
160+
126161 release-upload-windows-x64-archive :
127162 runs-on : ubuntu-latest
128163 needs :
@@ -142,6 +177,7 @@ jobs:
142177 needs :
143178 - release-upload-windows-x64-archive
144179 - release-upload-linux-x64-archive
180+ - release-upload-amd64-deb-package
145181 steps :
146182 - uses : softprops/action-gh-release@v1
147183 with :
0 commit comments