Update .gitlab-ci.yml

This commit is contained in:
Kai Kriegel 2021-09-14 00:04:14 +00:00
parent 1ee3970d1f
commit 05d0e9c3db

View File

@ -83,7 +83,7 @@ build_Android:
# - tags # the build process will only be started by git tag commits
script:
- '& "$env:NUGET_PATH" restore' # restore Nuget dependencies
- '[System.Convert]::FromBase64String($AndroidKeyStore) | Set-Content $(pwd)/fabaccess.keystore -Encoding Byte'
- '[System.IO.File]::WriteAllBytes($(pwd)/fabaccess.keystore, [System.Convert]::FromBase64String($AndroidKeyStore))'
- '& "$env:MSBUILD_PATH" /p:Configuration=Release /target:Borepin_Android:PackageForAndroid /target:Borepin_Android:SignAndroidPackage /p:AndroidKeyStore="True" /p:AndroidSigningKeyStore="$(pwd)/fabaccess.keystore" /p:AndroidSigningKeyPass="$AndroidKeyStore_Password" /p:AndroidSigningKeyAlias="$AndroidKeyStore_ID" /p:AndroidSigningStorePass="$AndroidKeyStore_Password"' # build the project
- rm "$(pwd)/fabaccess.keystore"
artifacts: