diff --git a/.github/workflows/ci_tests.yml b/.github/workflows/ci_tests.yml index c706aa614bd..603719e8142 100644 --- a/.github/workflows/ci_tests.yml +++ b/.github/workflows/ci_tests.yml @@ -56,18 +56,9 @@ jobs: distribution: temurin cache: gradle - - name: Pull genai-common - if: matrix.module == ':firebase-vertexai' - run: | - git clone https://github.com/google-gemini/generative-ai-android.git - cd generative-ai-android - ./gradlew :common:updateVersion common:publishToMavenLocal - cd .. - - name: Clone mock responses if: matrix.module == ':firebase-vertexai' - run: | - firebase-vertexai/update_responses.sh + run: firebase-vertexai/update_responses.sh - name: Add google-services.json env: diff --git a/firebase-vertexai/update_responses.sh b/firebase-vertexai/update_responses.sh index 70e438090bd..3feec3b861b 100755 --- a/firebase-vertexai/update_responses.sh +++ b/firebase-vertexai/update_responses.sh @@ -21,6 +21,8 @@ RESPONSES_VERSION='v6.*' # The major version of mock responses to use REPO_NAME="vertexai-sdk-test-data" REPO_LINK="https://github.com/FirebaseExtended/$REPO_NAME.git" +set -x + cd "$(dirname "$0")/src/test/resources" || exit rm -rf "$REPO_NAME" git clone "$REPO_LINK" --quiet || exit