Extract prepare signing step
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-12-10 08:57:54 +01:00
parent 5447c47d61
commit fa24e254dc

View File

@@ -4,22 +4,23 @@ type: docker
name: Android
steps:
- name: build
image: mingc/android-build-box
- name: prepareSigning
image: busybox
environment:
STOREPASSWORD:
from_secret: StorePassword
KEYPASSWORD:
from_secret: KeyPassword
volumes:
- name: deploy
path: /tmp/deploy
commands:
- touch keystore.properties
- echo "storePassword=$STOREPASSWORD" >> keystore.properties
- echo "keyPassword=$KEYPASSWORD" >> keystore.properties
- echo "keyAlias=key0" >> keystore.properties
- echo "storeFile=../AndroidKey" >> keystore.properties
- name: build
image: mingc/android-build-box
commands:
- ./gradlew test
- ./gradlew assembleDebug
- ./gradlew bundleRelease