diff --git a/appveyor.yml b/appveyor.yml index 94eed02ae..ee0bd1c37 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -56,10 +56,10 @@ before_build: if($isWindows) { nuget restore if($env:UPLOAD_KEYSTORE_DEC_SECRET -or$env:KEYSTORE_DEC_SECRET -or $env:GOOGLE_SERVICES_DEC_SECRET -or $env:PLAY_DEC_SECRET) { - iex ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/appveyor/secure-file/master/install.ps1')) + nuget install secure-file -ExcludeVersion } if($env:GOOGLE_SERVICES_DEC_SECRET) { - appveyor-tools\secure-file -decrypt src\Android\google-services.json.enc ` + secure-file\tools\secure-file -decrypt src\Android\google-services.json.enc ` -secret $env:GOOGLE_SERVICES_DEC_SECRET } } @@ -110,7 +110,7 @@ on_success: fi - ps: | if($isWindows -and $env:PLAY_DEC_SECRET) { - appveyor-tools\secure-file -decrypt store\google\Publisher\play_creds.json.enc -secret $env:PLAY_DEC_SECRET + secure-file\tools\secure-file -decrypt store\google\Publisher\play_creds.json.enc -secret $env:PLAY_DEC_SECRET cd store\google\Publisher\bin\Release\netcoreapp2.0 dotnet Publisher.dll ` $env:APPVEYOR_BUILD_FOLDER\store\google\Publisher\play_creds.json ` diff --git a/src/Android/ci-build-apks.ps1 b/src/Android/ci-build-apks.ps1 index 8e32c29d1..52b962d36 100644 --- a/src/Android/ci-build-apks.ps1 +++ b/src/Android/ci-build-apks.ps1 @@ -23,7 +23,7 @@ echo "########################################" $encKeystorePath = $($rootPath + "\src\Android\8bit.keystore.enc"); $encUploadKeystorePath = $($rootPath + "\src\Android\upload-keystore.jks.enc"); -$secureFilePath = $($rootPath + "\appveyor-tools\secure-file.exe"); +$secureFilePath = $($rootPath + "secure-file\tools\secure-file.exe"); Invoke-Expression "& `"$secureFilePath`" -decrypt $($encKeystorePath) -secret $($env:keystore_dec_secret)" Invoke-Expression "& `"$secureFilePath`" -decrypt $($encUploadKeystorePath) -secret $($env:upload_keystore_dec_secret) ` diff --git a/src/Android/upload-keystore.jks.enc b/src/Android/upload-keystore.jks.enc index bf413f8ea..514e969ca 100644 Binary files a/src/Android/upload-keystore.jks.enc and b/src/Android/upload-keystore.jks.enc differ