From 40691f2a5046692f71f911bfa723c274a3c5b06c Mon Sep 17 00:00:00 2001 From: Sam Dozor Date: Fri, 3 Nov 2023 12:25:55 -0400 Subject: [PATCH] fix: test kits against main of core --- .github/workflows/android-kit-push.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/android-kit-push.yml b/.github/workflows/android-kit-push.yml index 12d868f..bf2285e 100644 --- a/.github/workflows/android-kit-push.yml +++ b/.github/workflows/android-kit-push.yml @@ -11,7 +11,7 @@ on: branch_name: description: "branch name to run tests on" required: false - default: "development" + default: "main" type: string jobs: @@ -56,7 +56,7 @@ jobs: repository: mParticle/android-sdk fetch-depth: 0 path: core - ref: development + ref: main - name: "Install JDK 11" uses: actions/setup-java@v3 with: @@ -65,14 +65,14 @@ jobs: cache: "gradle" - name: "Build Core" working-directory: core - run: ./gradlew publishLocal + run: ./gradlew publishLocal -PisRelease=true - name: "Get Build Version" id: core-version run: | ANDROID_CORE_DIR=`find ~/.m2 -type d -name android-core`; echo "android-core m2 directory:" echo $ANDROID_CORE_DIR; - VERSION_DIR=`find $ANDROID_CORE_DIR -type d -name *-SNAPSHOT`; + VERSION_DIR=`find $ANDROID_CORE_DIR -type d -name 5*`; echo "android-core m2 version directory:" echo $VERSION_DIR; VERSION=`basename $VERSION_DIR`; @@ -136,7 +136,7 @@ jobs: repository: mParticle/android-sdk fetch-depth: 0 path: core - ref: development + ref: main - name: "Install JDK 11" uses: actions/setup-java@v3 with: @@ -145,14 +145,14 @@ jobs: cache: "gradle" - name: "Build Core" working-directory: core - run: ./gradlew publishLocal + run: ./gradlew publishLocal -PisRelease=true - name: "Get Build Version" id: core-version run: | ANDROID_CORE_DIR=`find ~/.m2 -type d -name android-core`; echo "android-core m2 directory:" echo $ANDROID_CORE_DIR; - VERSION_DIR=`find $ANDROID_CORE_DIR -type d -name *-SNAPSHOT`; + VERSION_DIR=`find $ANDROID_CORE_DIR -type d -name 5*`; echo "android-core m2 version directory:" echo $VERSION_DIR; VERSION=`basename $VERSION_DIR`; @@ -216,7 +216,7 @@ jobs: repository: mParticle/android-sdk fetch-depth: 0 path: core - ref: development + ref: main - name: "Install JDK 11" uses: actions/setup-java@v3 with: @@ -225,14 +225,14 @@ jobs: cache: "gradle" - name: "Build Core" working-directory: core - run: ./gradlew publishLocal + run: ./gradlew publishLocal -PisRelease=true - name: "Get Build Version" id: core-version run: | ANDROID_CORE_DIR=`find ~/.m2 -type d -name android-core`; echo "android-core m2 directory:" echo $ANDROID_CORE_DIR; - VERSION_DIR=`find $ANDROID_CORE_DIR -type d -name *-SNAPSHOT`; + VERSION_DIR=`find $ANDROID_CORE_DIR -type d -name 5*`; echo "android-core m2 version directory:" echo $VERSION_DIR; VERSION=`basename $VERSION_DIR`;