mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-04-10 18:48:21 +02:00
ci : fix copy of whiper.ddl to build\Release dir
This commit is contained in:
parent
36fa375b81
commit
956ceefd58
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@ -1037,18 +1037,17 @@ jobs:
|
||||
run: |
|
||||
New-Item -Path "build\Release" -ItemType Directory -Force
|
||||
|
||||
$dllPath = Get-ChildItem -Path "." -Recurse -Filter "*.dll" | Select-Object -First 1 -ExpandProperty FullName
|
||||
if ($dllPath) {
|
||||
Copy-Item -Path $dllPath -Destination "build\Release\whisper.dll" -Force
|
||||
Write-Host "Copied from $dllPath to build\Release\whisper.dll"
|
||||
} else {
|
||||
Write-Host "No DLL found in the downloaded artifact"
|
||||
exit 1
|
||||
}
|
||||
Copy-Item -Path "whisper.dll" -Destination "build\Release\whisper.dll" -Force
|
||||
Write-Host "Copied whisper.dll to build\Release\whisper.dll directory"
|
||||
|
||||
Copy-Item -Path "SDL2.dll" -Destination "build\Release\SDL2.dll" -Force
|
||||
Write-Host "Copied SDL2.dll to build\Release\SDL2.dll directory"
|
||||
|
||||
- name: List build release files
|
||||
shell: pwsh
|
||||
run: |
|
||||
Get-ChildItem -Path "build\Release -Recurse -Filter "*.dll"
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
models\download-ggml-model.cmd tiny.en
|
||||
|
Loading…
Reference in New Issue
Block a user