2017-12-13 22:59:14 +01:00
install :
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
2018-02-10 15:38:12 +01:00
- appveyor DownloadFile https://aka.ms/vs/15/release/vs_community.exe
- vs_community.exe update --wait --quiet --norestart --installPath "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community"
2017-02-11 07:13:03 +01:00
before_build :
- nuget restore
2017-02-14 03:57:11 +01:00
- IF DEFINED keystore_dec_secret nuget install secure-file -ExcludeVersion
2017-12-22 04:39:04 +01:00
- IF DEFINED google_services_dec_secret secure-file\tools\secure-file -decrypt src\Android\google-services.json.enc -secret %google_services_dec_secret%
2017-02-11 07:13:03 +01:00
after_build :
2018-01-11 04:10:32 +01:00
- ps : IF($env:keystore_dec_secret) { .\src\Android\ci-build-apks.ps1 }
2017-02-11 07:13:03 +01:00
on_success :
2017-02-14 03:57:11 +01:00
- IF DEFINED play_dec_secret secure-file\tools\secure-file -decrypt store\google\Publisher\play_creds.json.enc -secret %play_dec_secret%
2018-01-11 15:04:58 +01:00
- IF DEFINED play_dec_secret dotnet store\google\Publisher\bin\Release\netcoreapp2.0\Publisher.dll %APPVEYOR_BUILD_FOLDER%\store\google\Publisher\play_creds.json %APPVEYOR_BUILD_FOLDER%\com.x8bit.bitwarden-%APPVEYOR_BUILD_NUMBER%.apk alpha
2017-02-11 07:13:03 +01:00
artifacts :
2017-05-21 19:24:44 +02:00
- path : com.x8bit.bitwarden-%APPVEYOR_BUILD_NUMBER%.apk
2018-01-10 15:35:47 +01:00
- path : com.x8bit.bitwarden-fdroid-%APPVEYOR_BUILD_NUMBER%.apk
2017-05-21 19:24:44 +02:00
branches :
except :
2017-05-21 19:31:55 +02:00
- l10n_master
2017-11-20 22:32:23 +01:00
skip_tags : true
2018-01-11 15:04:58 +01:00
configuration : Release
2018-02-03 04:00:58 +01:00
image : Visual Studio 2017