more
This commit is contained in:
@@ -114,7 +114,8 @@ try {
|
||||
"-quit",
|
||||
"-projectPath", "$PWD",
|
||||
"-executeMethod", "$method",
|
||||
"-logFile", "$logFile"
|
||||
"-logFile", "$logFile",
|
||||
"-verbose"
|
||||
)
|
||||
|
||||
Write-Host "Starting Unity..."
|
||||
@@ -142,7 +143,7 @@ try {
|
||||
# 5. Copy Log to Builds Folder
|
||||
Copy-Item $logFile $artifactLog -Force
|
||||
|
||||
|
||||
|
||||
# 6. Exit handling
|
||||
if ($process.ExitCode -ne 0) {
|
||||
Write-Error "Unity build failed with exit code $($process.ExitCode)"
|
||||
|
||||
Reference in New Issue
Block a user