Skip to content

Commit bd02f45

Browse files
authored
ci(android): update java requirement for cordova-android@11 (apache#957)
1 parent dfcffb4 commit bd02f45

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/android.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343

4444
# These are the default Java configurations used by most tests.
4545
# To customize these options, add "java-distro" or "java-version" to the strategy matrix with its overriding value.
46-
default_java-distro: adopt
47-
default_java-version: 8
46+
default_java-distro: temurin
47+
default_java-version: 11
4848

4949
# These are the default Android System Image configurations used by most tests.
5050
# To customize these options, add "system-image-arch" or "system-image-target" to the strategy matrix with its overriding value.
@@ -82,7 +82,6 @@ jobs:
8282

8383
- android: 11
8484
android-api: 30
85-
java-version: 11
8685

8786
timeout-minutes: 60
8887

@@ -91,7 +90,7 @@ jobs:
9190
- uses: actions/setup-node@v2
9291
with:
9392
node-version: ${{ env.node-version }}
94-
- uses: actions/setup-java@v2
93+
- uses: actions/setup-java@v3
9594
env:
9695
java-version: ${{ matrix.versions.java-version == '' && env.default_java-version || matrix.versions.java-version }}
9796
java-distro: ${{ matrix.versions.java-distro == '' && env.default_java-distro || matrix.versions.java-distro }}

0 commit comments

Comments
 (0)