From 23efedbc6635baf5a2efa12c4c8c203ea16c0707 Mon Sep 17 00:00:00 2001 From: Andrew Kahr <22359829+AndrewKahr@users.noreply.github.com> Date: Mon, 16 Oct 2023 23:51:13 -0700 Subject: [PATCH] Fix pathing issue --- dist/platforms/windows/build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/platforms/windows/build.ps1 b/dist/platforms/windows/build.ps1 index bcf270a0..ba674445 100644 --- a/dist/platforms/windows/build.ps1 +++ b/dist/platforms/windows/build.ps1 @@ -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)) # 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 = $fileContent -replace "AndroidKeystoreName:\s+.*", "AndroidKeystoreName: $keystorePath" $fileContent | Set-Content -Path "$unitySettingsPath"