ci : fix copy of whiper.ddl to build\Release dir

This commit is contained in:
Daniel Bevenius 2025-03-28 07:53:42 +01:00
parent 36fa375b81
commit 956ceefd58

View File

@ -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