This commit is contained in:
2026-06-23 01:23:26 +09:30
parent 32de402bbd
commit 4e232d6910
+3 -2
View File
@@ -114,7 +114,8 @@ try {
"-quit", "-quit",
"-projectPath", "$PWD", "-projectPath", "$PWD",
"-executeMethod", "$method", "-executeMethod", "$method",
"-logFile", "$logFile" "-logFile", "$logFile",
"-verbose"
) )
Write-Host "Starting Unity..." Write-Host "Starting Unity..."
@@ -142,7 +143,7 @@ try {
# 5. Copy Log to Builds Folder # 5. Copy Log to Builds Folder
Copy-Item $logFile $artifactLog -Force Copy-Item $logFile $artifactLog -Force
# 6. Exit handling # 6. Exit handling
if ($process.ExitCode -ne 0) { if ($process.ExitCode -ne 0) {
Write-Error "Unity build failed with exit code $($process.ExitCode)" Write-Error "Unity build failed with exit code $($process.ExitCode)"