File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,17 @@ jobs:
143
143
echo "any_changed=false" >> $GITHUB_ENV
144
144
fi
145
145
146
+ - name : Setup JDK
147
+ if : env.any_changed == 'true'
148
+ uses : actions/setup-java@v4
149
+ with :
150
+ distribution : ' corretto'
151
+ java-version : ' 17'
152
+
153
+ - name : Grant execute permission for gradlew
154
+ if : env.any_changed == 'true'
155
+ run : chmod +x gradlew
156
+
146
157
- name : Run Instrumentation Tests on Emulator
147
158
if : env.any_changed == 'true'
148
159
uses : reactivecircus/android-emulator-runner@v2
@@ -154,12 +165,7 @@ jobs:
154
165
script : ./gradlew connectedCheck --stacktrace
155
166
run : ./gradlew connectedAndroidTest
156
167
#
157
- # - name: Setup JDK
158
- # if: env.any_changed == 'true'
159
- # uses: actions/setup-java@v4
160
- # with:
161
- # distribution: 'corretto'
162
- # java-version: '17'
168
+
163
169
#
164
170
# - name: Setup Android SDK
165
171
# if: env.any_changed == 'true'
You can’t perform that action at this time.
0 commit comments