Skip to content

Commit

Permalink
fix: test kits against main of core
Browse files Browse the repository at this point in the history
  • Loading branch information
samdozor authored Nov 3, 2023
1 parent ebcc3f9 commit 40691f2
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/android-kit-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
branch_name:
description: "branch name to run tests on"
required: false
default: "development"
default: "main"
type: string

jobs:
Expand Down Expand Up @@ -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:
Expand All @@ -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`;
Expand Down Expand Up @@ -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:
Expand All @@ -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`;
Expand Down Expand Up @@ -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:
Expand All @@ -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`;
Expand Down

0 comments on commit 40691f2

Please sign in to comment.