File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1515 - name : Clone whisper.cpp repository
1616 uses : actions/checkout@v3
1717 with :
18- repository : ggerganov/whisper.cpp
18+ repository : buxuku/whisper.cpp
19+ branch : builder
1920
2021 - name : Setup Node.js
2122 uses : actions/setup-node@v3
@@ -153,9 +154,9 @@ jobs:
153154 # 根据构建类型添加优化参数
154155 if ("${{ matrix.build_type }}" -eq "optimized") {
155156 $buildParams += "--CDCMAKE_CUDA_ARCHITECTURES=all"
156- $outputName = "addon-${{ matrix[matrix.cuda_version] .optimized }}.node"
157+ $outputName = "addon-${{ matrix.optimized }}.node"
157158 } else {
158- $outputName = "addon-${{ matrix[matrix.cuda_version] .generic }}.node"
159+ $outputName = "addon-${{ matrix.generic }}.node"
159160 }
160161
161162 # 执行构建
@@ -167,8 +168,8 @@ jobs:
167168 - name : Upload artifacts
168169 uses : actions/upload-artifact@v4
169170 with :
170- name : addon-${{ matrix.cuda_version }}-${{ matrix.build_type }}
171- path : artifacts/addon-${{ matrix[matrix.build_type] }}.node
171+ name : addon-${{ matrix.optimized }}.node
172+ path : artifacts/$outputName
172173
173174 # Windows no-cuda 构建
174175 windows-no-cuda :
You can’t perform that action at this time.
0 commit comments