Create keystore.properties before build
Some checks failed
continuous-integration/drone/push Build was killed
Some checks failed
continuous-integration/drone/push Build was killed
This commit is contained in:
10
.drone.yml
10
.drone.yml
@@ -6,10 +6,20 @@ name: Android
|
|||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: mingc/android-build-box
|
image: mingc/android-build-box
|
||||||
|
environment:
|
||||||
|
STOREPASSWORD:
|
||||||
|
from_secret: StorePassword
|
||||||
|
KEYPASSWORD:
|
||||||
|
from_secret: KeyPassword
|
||||||
volumes:
|
volumes:
|
||||||
- name: deploy
|
- name: deploy
|
||||||
path: /tmp/deploy
|
path: /tmp/deploy
|
||||||
commands:
|
commands:
|
||||||
|
- touch keystore.properties
|
||||||
|
- storePassword=$STOREPASSWORD >> keystore.properties
|
||||||
|
- keyPassword=$KEYPASSWORD >> keystore.properties
|
||||||
|
- keyAlias=key0 >> keystore.properties
|
||||||
|
- storeFile=../AndroidKey >> keystore.properties
|
||||||
- ./gradlew test
|
- ./gradlew test
|
||||||
- ./gradlew assembleDebug
|
- ./gradlew assembleDebug
|
||||||
- ./gradlew bundleRelease
|
- ./gradlew bundleRelease
|
||||||
|
|||||||
Reference in New Issue
Block a user