Skip to content

Commit c8efa70

Browse files
authored
Change the order of commands in release maven
aws cli seems to be polluted by the brew update so moving it before brew update command is run
1 parent d08d985 commit c8efa70

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.circleci/config.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -518,14 +518,17 @@ jobs:
518518
- checkout
519519
- configure_aws
520520
- set_enviroment_variables
521+
- run:
522+
name: Download gpghome
523+
command: |
524+
aws s3 cp s3://android-circleci-payload/gpghome/gpghome.zip gpghome.zip
525+
unzip -a gpghome.zip
521526
- run:
522527
name: Install Android SDK tools
523528
command: |
524529
HOMEBREW_LOGS=~/homebrew-logs
525530
HOMEBREW_TEMP=~/homebrew-temp
526531
brew update
527-
brew install [email protected]
528-
brew doctor
529532
brew cask install android-sdk
530533
- run:
531534
name: Install Android build tools
@@ -553,11 +556,6 @@ jobs:
553556
echo "PATH: $PATH"
554557
echo 'export ANDROID_PLATFORM="27"' >> $BASH_ENV
555558
echo 'export ANDROID_BUILDTOOL_VERSION="27.0.1"' >> $BASH_ENV
556-
- run:
557-
name: Download gpghome
558-
command: |
559-
aws s3 cp s3://android-circleci-payload/gpghome/gpghome.zip gpghome.zip
560-
unzip -a gpghome.zip
561559
- run:
562560
name: publish to maven
563561
command: |

0 commit comments

Comments
 (0)