mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-07 20:35:33 -04:00
Fix pathing issue
This commit is contained in:
parent
2b57efdf8e
commit
23efedbc66
2
dist/platforms/windows/build.ps1
vendored
2
dist/platforms/windows/build.ps1
vendored
@ -75,7 +75,7 @@ if ( "$Env:BUILD_TARGET" -eq "Android" -and -not ([string]::IsNullOrEmpty("$Env:
|
|||||||
[System.IO.File]::WriteAllBytes($keystorePath, [System.Convert]::FromBase64String($Env:ANDROID_KEYSTORE_BASE64))
|
[System.IO.File]::WriteAllBytes($keystorePath, [System.Convert]::FromBase64String($Env:ANDROID_KEYSTORE_BASE64))
|
||||||
|
|
||||||
# Ensure the project settings are pointed at the correct path
|
# Ensure the project settings are pointed at the correct path
|
||||||
$unitySettingsPath = "$Env:GITHUB_WORKSPACE\ProjectSettings\ProjectSettings.asset"
|
$unitySettingsPath = "$Env:UNITY_PROJECT_PATH\ProjectSettings\ProjectSettings.asset"
|
||||||
$fileContent = Get-Content -Path "$unitySettingsPath"
|
$fileContent = Get-Content -Path "$unitySettingsPath"
|
||||||
$fileContent = $fileContent -replace "AndroidKeystoreName:\s+.*", "AndroidKeystoreName: $keystorePath"
|
$fileContent = $fileContent -replace "AndroidKeystoreName:\s+.*", "AndroidKeystoreName: $keystorePath"
|
||||||
$fileContent | Set-Content -Path "$unitySettingsPath"
|
$fileContent | Set-Content -Path "$unitySettingsPath"
|
||||||
|
Loading…
Reference in New Issue
Block a user