mirror of
https://github.com/lemonade-sdk/stable-diffusion.cpp.git
synced 2026-11-22 23:58:04 -10:00
Merge origin/lemonade into fix-powershell-parser
This commit is contained in:
1 file changed
+3
-2
@@ -271,8 +271,9 @@ jobs:
|
||||
'nvJitLink_*.dll'
|
||||
)
|
||||
foreach ($pattern in $runtimeDllPatterns) {
|
||||
$dll = Get-ChildItem -Path $cudaBin -Filter $pattern | Sort-Object Name -Descending | Select-Object -First 1
|
||||
if ($dll) { Copy-Item $dll.FullName .\build\bin\Release }
|
||||
$dll = Get-ChildItem -Path $cudaBin -Filter $pattern -ErrorAction Stop | Sort-Object Name -Descending | Select-Object -First 1
|
||||
if (-not $dll) { throw "Required CUDA runtime DLL matching '$pattern' was not found in $cudaBin" }
|
||||
Copy-Item $dll.FullName .\build\bin\Release
|
||||
}
|
||||
7z a sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-windows-cuda-${{ matrix.sm }}-x64.zip .\build\bin\Release\*
|
||||
|
||||
|
||||
Reference in new issue
Block a user