From a2b4e39a05896eeedfff17e1cdba6d5272f25093 Mon Sep 17 00:00:00 2001 From: Rodrigo Nascimento <rodrigoknascimento@gmail.com> Date: Tue, 7 Nov 2017 15:29:32 -0200 Subject: [PATCH] Fix CircleCI order --- .circleci/config.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a1448d038..51eb5edc9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -68,13 +68,7 @@ jobs: key: android-{{ checksum ".circleci/config.yml" }}-{{ checksum "android/build.gradle" }}-{{ checksum "android/app/build.gradle" }} - run: - name: Install Android Depedencies - command: | - cd android - ./gradlew androidDependencies - - - run: - name: Build Android App + name: Configure Gradle command: | cd android @@ -85,6 +79,16 @@ jobs: echo -e "KEY_PASSWORD=$KEYSTORE_PASSWORD" >> ./gradle.properties echo -e "VERSIONCODE=$CIRCLE_BUILD_NUM" >> ./gradle.properties + - run: + name: Install Android Depedencies + command: | + cd android + ./gradlew androidDependencies + + - run: + name: Build Android App + command: | + cd android ./gradlew assembleRelease mkdir -p /tmp/build -- GitLab