more
This commit is contained in:
@@ -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)"
|
||||||
|
|||||||
Reference in New Issue
Block a user