@@ -67,19 +67,19 @@ jobs:
6767 instrumented-tests :
6868 name : " Instrumented Tests"
6969 timeout-minutes : 30
70- runs-on : macos -latest
70+ runs-on : ubuntu -latest
7171 needs : create-regression-branch
7272 steps :
7373 - name : " Checkout future release branch"
7474 uses : actions/checkout@v3
7575 with :
7676 repository : mparticle/mparticle-android-sdk
7777 ref : regression/${{ github.run_number }}
78- - name : " Install JDK 11 "
78+ - name : " Install JDK 17 "
7979 uses : actions/setup-java@v3
8080 with :
8181 distribution : " zulu"
82- java-version : " 11 "
82+ java-version : " 17 "
8383 cache : " gradle"
8484 - name : " Run Instrumented Tests"
8585 uses : reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b # v2.28.0
@@ -96,19 +96,19 @@ jobs:
9696 instrumented-orchestrator-tests :
9797 name : " Instrumented Orchestrator Tests"
9898 timeout-minutes : 30
99- runs-on : macos -latest
99+ runs-on : ubuntu -latest
100100 needs : create-regression-branch
101101 steps :
102102 - name : " Checkout Branch"
103103 uses : actions/checkout@v3
104104 with :
105105 repository : mparticle/mparticle-android-sdk
106106 ref : regression/${{ github.run_number }}
107- - name : " Install JDK 11 "
107+ - name : " Install JDK 17 "
108108 uses : actions/setup-java@v3
109109 with :
110110 distribution : " zulu"
111- java-version : " 11 "
111+ java-version : " 17 "
112112 cache : " gradle"
113113 - name : " Run Instrumented Orchestrator Tests"
114114 uses : reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b # v2.28.0
@@ -133,11 +133,11 @@ jobs:
133133 with :
134134 repository : mparticle/mparticle-android-sdk
135135 ref : regression/${{ github.run_number }}
136- - name : " Install JDK 11 "
136+ - name : " Install JDK 17 "
137137 uses : actions/setup-java@v3
138138 with :
139139 distribution : " zulu"
140- java-version : " 11 "
140+ java-version : " 17 "
141141 cache : " gradle"
142142 - name : " Run Unit Tests"
143143 run : ./gradlew test
@@ -162,11 +162,11 @@ jobs:
162162 with :
163163 ref : regression/${{ github.run_number }}
164164 submodules : recursive
165- - name : " Install JDK 11 "
165+ - name : " Install JDK 17 "
166166 uses : actions/setup-java@v3
167167 with :
168168 distribution : " zulu"
169- java-version : " 11 "
169+ java-version : " 17 "
170170 cache : " gradle"
171171 - name : " Run Android Core SDK Lint"
172172 run : ./gradlew lint
@@ -198,11 +198,11 @@ jobs:
198198 with :
199199 ref : regression/${{ github.run_number }}
200200 submodules : recursive
201- - name : " Install JDK 11 "
201+ - name : " Install JDK 17 "
202202 uses : actions/setup-java@v3
203203 with :
204204 distribution : " zulu"
205- java-version : " 11 "
205+ java-version : " 17 "
206206 cache : " gradle"
207207 - name : " Run Android Core SDK Kotlin Lint"
208208 run : ./gradlew ktlintCheck
@@ -239,11 +239,11 @@ jobs:
239239 repository : mparticle/mparticle-android-sdk
240240 ref : regression/${{ github.run_number }}
241241 submodules : recursive
242- - name : " Install JDK 11 "
242+ - name : " Install JDK 17 "
243243 uses : actions/setup-java@v3
244244 with :
245245 distribution : " zulu"
246- java-version : " 11 "
246+ java-version : " 17 "
247247 cache : " gradle"
248248 - name : " Build Android Core"
249249 run : ./gradlew -PisRelease=true clean publishReleaseLocal
0 commit comments