Skip to content

Commit

Permalink
ci(android): update java requirement for cordova-android@11 (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
erisu authored Jul 16, 2022
1 parent a18c3b7 commit 2c29cf9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:

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

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

- android: 11
android-api: 30
java-version: 11

timeout-minutes: 60

Expand All @@ -91,7 +90,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: ${{ env.node-version }}
- uses: actions/setup-java@v2
- uses: actions/setup-java@v3
env:
java-version: ${{ matrix.versions.java-version == '' && env.default_java-version || matrix.versions.java-version }}
java-distro: ${{ matrix.versions.java-distro == '' && env.default_java-distro || matrix.versions.java-distro }}
Expand Down

0 comments on commit 2c29cf9

Please sign in to comment.