diff --git a/.github/scripts/android/deploy-play.ps1 b/.github/scripts/android/deploy-play.ps1 index fa5632fb0..c91722239 100644 --- a/.github/scripts/android/deploy-play.ps1 +++ b/.github/scripts/android/deploy-play.ps1 @@ -1,5 +1,5 @@ $rootPath = $env:GITHUB_WORKSPACE; -$homePath = "~"; +$homePath = Resolve-Path "~" | Select-Object -ExpandProperty Path; $publisherPath = $($rootPath + "/store/google/Publisher/bin/Release/netcoreapp2.0/Publisher.dll"); $credsPath = $($homePath + "/secrets/play_creds.json"); diff --git a/.github/scripts/decrypt-secret.ps1 b/.github/scripts/decrypt-secret.ps1 index 971d99fa7..809f91ee3 100644 --- a/.github/scripts/decrypt-secret.ps1 +++ b/.github/scripts/decrypt-secret.ps1 @@ -4,7 +4,7 @@ [string] $output ) -$homePath = "~" +$homePath = Resolve-Path "~" | Select-Object -ExpandProperty Path Write-Output "Home path is: '$homePath'" diff --git a/.github/scripts/ios/setup-keychain.ps1 b/.github/scripts/ios/setup-keychain.ps1 index 8f7e05a83..33de6a28a 100644 --- a/.github/scripts/ios/setup-keychain.ps1 +++ b/.github/scripts/ios/setup-keychain.ps1 @@ -1,4 +1,4 @@ -$homePath = "~"; +$homePath = Resolve-Path "~" | Select-Object -ExpandProperty Path; $secretsPath = $homePath + "/secrets" $mobileKeyPath = $($secretsPath + "/bitwarden-mobile-key.p12"); diff --git a/.github/scripts/ios/setup-profiles.ps1 b/.github/scripts/ios/setup-profiles.ps1 index bc997b9f9..7bd01169e 100644 --- a/.github/scripts/ios/setup-profiles.ps1 +++ b/.github/scripts/ios/setup-profiles.ps1 @@ -1,4 +1,4 @@ -$homePath = "~"; +$homePath = Resolve-Path "~" | Select-Object -ExpandProperty Path; $secretsPath = $homePath + "/secrets" $autofillProfilePath = $($secretsPath + "/dist_autofill.mobileprovision");