File tree Expand file tree Collapse file tree 3 files changed +32
-5
lines changed
Expand file tree Collapse file tree 3 files changed +32
-5
lines changed Original file line number Diff line number Diff line change 8888 name : macos-${{matrix.nodejs}}-${{matrix.arch}}
8989 path : build/stage/*/*.tar.gz
9090
91+ - name : Upload binaries to release
92+ uses : svenstaro/upload-release-action@v2
93+ with :
94+ repo_token : ${{ secrets.GITHUB_TOKEN }}
95+ file : build/stage/*/*.tar.gz
96+ tag : ${{ github.ref }}
97+ overwrite : true
98+ file_glob : true
99+
91100 linux-napi :
92101 name : Build NAPI ${{matrix.image}} - Node ${{matrix.nodejs}} - ${{matrix.cpu.platform}}
93102 runs-on : ubuntu-22.04
@@ -140,6 +149,15 @@ jobs:
140149 name : ${{matrix.image}}-${{matrix.nodejs}}-${{matrix.cpu.platform}}
141150 path : build/stage/*/*.tar.gz
142151
152+ - name : Upload binaries to release
153+ uses : svenstaro/upload-release-action@v2
154+ with :
155+ repo_token : ${{ secrets.GITHUB_TOKEN }}
156+ file : build/stage/*/*.tar.gz
157+ tag : ${{ github.ref }}
158+ overwrite : true
159+ file_glob : true
160+
143161 windows-napi :
144162 name : Build NAPI windows - Node ${{matrix.nodejs}} - ${{matrix.arch}}
145163 runs-on : windows-2022
@@ -209,3 +227,12 @@ jobs:
209227 with :
210228 name : windows-${{matrix.nodejs}}-${{matrix.arch}}
211229 path : build/stage/*/*.tar.gz
230+
231+ - name : Upload binaries to release
232+ uses : svenstaro/upload-release-action@v2
233+ with :
234+ repo_token : ${{ secrets.GITHUB_TOKEN }}
235+ file : build/stage/*/*.tar.gz
236+ tag : ${{ github.ref }}
237+ overwrite : true
238+ file_glob : true
Original file line number Diff line number Diff line change 11{
2- "name" : " pulsar-client" ,
2+ "name" : " shibaodi- pulsar-client" ,
33 "version" : " 1.14.0-rc.0" ,
44 "description" : " Pulsar Node.js client" ,
55 "main" : " index.js" ,
6262 "binary" : {
6363 "module_name" : " pulsar" ,
6464 "module_path" : " ./lib/binding/" ,
65- "host" : " https://archive.apache.org/dist /pulsar/pulsar -client-node/" ,
66- "remote_path" : " pulsar-client-node- {version}" ,
65+ "host" : " https://github.com/shibd /pulsar-client-node/releases/download /" ,
66+ "remote_path" : " v {version}" ,
6767 "package_name" : " napi-{platform}-{libc}-{arch}.tar.gz"
6868 }
6969}
You can’t perform that action at this time.
0 commit comments