Skip to content

Commit bb287c4

Browse files
author
linxiaodong
committed
fix: upload file
1 parent a810a4e commit bb287c4

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/builder.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ jobs:
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:

0 commit comments

Comments
 (0)