Fix build profile name truncation on Windows (#745)

* feat: windows

* feat: macos

* fix: artifact name conflict

* fix: mac build profile parameter missing
This commit is contained in:
Ryo Oka
2025-10-04 21:59:42 +09:00
committed by GitHub
parent f7f3f70c57
commit 88a89c94a0
7 changed files with 130 additions and 5 deletions

View File

@@ -181,10 +181,10 @@ $unityArgs = @(
) + $customParametersArray
if (-not $Env:BUILD_PROFILE) {
$unityArgs += @("-buildTarget", $Env:BUILD_TARGET)
$unityArgs += @("-buildTarget", "`"$Env:BUILD_TARGET`"")
}
if ($Env:BUILD_PROFILE) {
$unityArgs += @("-activeBuildProfile", $Env:BUILD_PROFILE)
$unityArgs += @("-activeBuildProfile", "`"$Env:BUILD_PROFILE`"")
}
# Remove null items as that will fail the Start-Process call