Add signing to Drone
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Michel Roux 2021-08-09 10:26:21 +02:00
parent 8aa8d06fe0
commit 383e1a1ec8

View File

@ -6,7 +6,19 @@ steps:
- name: build
image: mingc/android-build-box
commands:
- sh gradlew build bundle
- curl -sSL -u "${USERNAME}:${PASSWORD}" -o ${KEYFILE} https://cloud.crystalyx.net/remote.php/dav/files/${USERNAME}/Bordel/${KEYFILE}
- sh gradlew build bundle -Pandroid.injected.signing.store.file=${KEYFILE} -Pandroid.injected.signing.store.password=${KEYPASS} -Pandroid.injected.signing.store.key.alias=${KEYALIAS} -Pandroid.injected.signing.store.key.password=${KEYPASS}
environment:
USERNAME:
from_secret: nextcloud_user
PASSWORD:
from_secret: nextcloud_password
KEYFILE:
from_secret: android_keyfile
KEYALIAS:
from_secret: android_keyalias
KEYPASS:
from_secret: android_keypass
- name: release
image: plugins/gitea-release
settings: