diff --git a/.circleci/config.yml b/.circleci/config.yml index fa8a4f45beb8df..15bf67f18883a2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -125,12 +125,12 @@ commands: type: integer steps: - run: - name: Add shhkey for github + name: Add ssh host for github command: | - mkdir ~/.ssh + mkdir -p ~/.ssh ssh-keyscan -H github.com >> ~/.ssh/known_hosts - run: - name: Get URL and clone + name: Shallow clone command: | git clone --branch main --no-checkout "$CIRCLE_REPOSITORY_URL" --single-branch . git fetch --force --depth 1 origin +refs/pull/$CIRCLE_PR_NUMBER/head:refs/remotes/origin/pull/$CIRCLE_PR_NUMBER @@ -821,8 +821,7 @@ jobs: - ANDROID_TOOLS_VERSION: 31.0.0 - GRADLE_OPTS: -Dorg.gradle.daemon=false steps: - - checkout_code_with_cache: - shallow_checkout: True + - checkout_code_with_cache - run: name: Install Node