From e74adc20b2ba0ef5436679d1004fc5f609816a95 Mon Sep 17 00:00:00 2001 From: Mansi-mParticle <159845845+Mansi-mParticle@users.noreply.github.com> Date: Tue, 28 May 2024 16:15:50 -0400 Subject: [PATCH] fix: Update Java version to 17 (#486) --- .github/workflows/daily.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 860306ae2..8b6a4b189 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -67,7 +67,7 @@ jobs: instrumented-tests: name: "Instrumented Tests" timeout-minutes: 30 - runs-on: macos-latest + runs-on: ubuntu-latest needs: create-regression-branch steps: - name: "Checkout future release branch" @@ -75,11 +75,11 @@ jobs: with: repository: mparticle/mparticle-android-sdk ref: regression/${{ github.run_number }} - - name: "Install JDK 11" + - name: "Install JDK 17" uses: actions/setup-java@v3 with: distribution: "zulu" - java-version: "11" + java-version: "17" cache: "gradle" - name: "Run Instrumented Tests" uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b #v2.28.0 @@ -96,7 +96,7 @@ jobs: instrumented-orchestrator-tests: name: "Instrumented Orchestrator Tests" timeout-minutes: 30 - runs-on: macos-latest + runs-on: ubuntu-latest needs: create-regression-branch steps: - name: "Checkout Branch" @@ -104,11 +104,11 @@ jobs: with: repository: mparticle/mparticle-android-sdk ref: regression/${{ github.run_number }} - - name: "Install JDK 11" + - name: "Install JDK 17" uses: actions/setup-java@v3 with: distribution: "zulu" - java-version: "11" + java-version: "17" cache: "gradle" - name: "Run Instrumented Orchestrator Tests" uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b #v2.28.0 @@ -133,11 +133,11 @@ jobs: with: repository: mparticle/mparticle-android-sdk ref: regression/${{ github.run_number }} - - name: "Install JDK 11" + - name: "Install JDK 17" uses: actions/setup-java@v3 with: distribution: "zulu" - java-version: "11" + java-version: "17" cache: "gradle" - name: "Run Unit Tests" run: ./gradlew test @@ -162,11 +162,11 @@ jobs: with: ref: regression/${{ github.run_number }} submodules: recursive - - name: "Install JDK 11" + - name: "Install JDK 17" uses: actions/setup-java@v3 with: distribution: "zulu" - java-version: "11" + java-version: "17" cache: "gradle" - name: "Run Android Core SDK Lint" run: ./gradlew lint @@ -198,11 +198,11 @@ jobs: with: ref: regression/${{ github.run_number }} submodules: recursive - - name: "Install JDK 11" + - name: "Install JDK 17" uses: actions/setup-java@v3 with: distribution: "zulu" - java-version: "11" + java-version: "17" cache: "gradle" - name: "Run Android Core SDK Kotlin Lint" run: ./gradlew ktlintCheck @@ -239,11 +239,11 @@ jobs: repository: mparticle/mparticle-android-sdk ref: regression/${{ github.run_number }} submodules: recursive - - name: "Install JDK 11" + - name: "Install JDK 17" uses: actions/setup-java@v3 with: distribution: "zulu" - java-version: "11" + java-version: "17" cache: "gradle" - name: "Build Android Core" run: ./gradlew -PisRelease=true clean publishReleaseLocal