Skip to content

Commit

Permalink
fix: Update Java version to 17 (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mansi-mParticle authored May 28, 2024
1 parent f565bb3 commit e74adc2
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,19 @@ 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"
uses: actions/checkout@v3
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
Expand All @@ -96,19 +96,19 @@ 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"
uses: actions/checkout@v3
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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e74adc2

Please sign in to comment.