mirror of
https://github.com/litruv/PNGTuber-Plus.git
synced 2026-07-24 10:36:01 +10:00
debug
This commit is contained in:
16
.github/workflows/build-windows.yml
vendored
16
.github/workflows/build-windows.yml
vendored
@@ -34,12 +34,26 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
New-Item -ItemType Directory -Force -Path "build\windows"
|
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"
|
& "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
|
continue-on-error: false
|
||||||
|
|
||||||
- name: Check Build Output
|
- name: Check Build Output
|
||||||
run: |
|
run: |
|
||||||
Write-Host "Build directory contents:"
|
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
|
- name: Upload Windows Build
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user