From 7d4ecd3e58f13cdd35b545abb7f07e0ee61f0e19 Mon Sep 17 00:00:00 2001 From: Max Litruv Boonzaayer Date: Sat, 19 Jul 2025 19:22:27 +1000 Subject: [PATCH] debug --- .github/workflows/build-windows.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 38d20eb..fa01f9f 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -34,12 +34,26 @@ jobs: run: | New-Item -ItemType Directory -Force -Path "build\windows" & "D:\Godot\Godot_v4.4.1-stable_win64.exe" --headless --verbose --export-release "Windows Desktop" "build\windows\PNGTuber-Plus.exe" + Write-Host "Godot exit code: $LASTEXITCODE" continue-on-error: false - name: Check Build Output run: | Write-Host "Build directory contents:" - Get-ChildItem -Path "build\windows" -Recurse | Select-Object Name, Length + if (Test-Path "build\windows") { + Get-ChildItem -Path "build\windows" -Recurse | Select-Object Name, Length + } else { + Write-Host "Build directory does not exist!" + } + + if (Test-Path "build\windows\PNGTuber-Plus.exe") { + Write-Host "Build SUCCESS: PNGTuber-Plus.exe created" + $fileSize = (Get-Item "build\windows\PNGTuber-Plus.exe").Length + Write-Host "File size: $fileSize bytes" + } else { + Write-Host "Build FAILED: PNGTuber-Plus.exe not found" + exit 1 + } - name: Upload Windows Build uses: actions/upload-artifact@v4