From 9852f3d120fb7605f49623766d7c7ed64d5780ef Mon Sep 17 00:00:00 2001 From: Anthony Samms Date: Mon, 15 Sep 2025 11:27:37 -0400 Subject: [PATCH] Update python-app.yml --- .github/workflows/python-app.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 57d6ee7..4578fb9 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -113,17 +113,27 @@ jobs: # Copy the compiled library if (Test-Path "libaudio.dll") { Copy-Item "libaudio.dll" "../../build/lib/" + echo "Copied libaudio.dll" } if (Test-Path "audio.dll") { Copy-Item "audio.dll" "../../build/lib/" + echo "Copied audio.dll" } - # Copy vcpkg DLLs that might be needed at runtime + # Copy vcpkg DLLs that are needed at runtime $vcpkgBin = "$env:VCPKG_INSTALLATION_ROOT/installed/x64-windows/bin" if (Test-Path $vcpkgBin) { - Copy-Item "$vcpkgBin/*.dll" "../../build/lib/" -ErrorAction SilentlyContinue + echo "Copying runtime DLLs from vcpkg..." + Get-ChildItem "$vcpkgBin/*.dll" | ForEach-Object { + Copy-Item $_.FullName "../../build/lib/" -ErrorAction SilentlyContinue + echo "Copied $($_.Name)" + } } + # Verify what was copied + echo "Files in build/lib:" + ls ../../build/lib/ + # Add to PATH echo "${{ github.workspace }}/build/lib" >> $env:GITHUB_PATH shell: powershell