From fa24e254dc4c1e3d0368b3639e063e48d314d764 Mon Sep 17 00:00:00 2001 From: fabian Date: Sat, 10 Dec 2022 08:57:54 +0100 Subject: [PATCH] Extract prepare signing step --- .drone.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 06cca5b..2ae49df 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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