Skip to content

Commit bb9002c

Browse files
authored
Update GHA JDK to the latest LTS version (21)
1 parent f84eab3 commit bb9002c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build_and_test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
- name: Checkout code
2626
uses: actions/checkout@v4
2727

28-
- name: Set up JDK 17
28+
- name: Set up JDK 21
2929
uses: actions/setup-java@v4
3030
with:
31-
java-version: '17'
31+
java-version: '21'
3232
distribution: 'temurin'
3333

3434
- name: Setup Gradle
@@ -112,10 +112,10 @@ jobs:
112112
- name: Copy CI gradle.properties
113113
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
114114

115-
- name: Set up JDK 17
115+
- name: Set up JDK 21
116116
uses: actions/setup-java@v4
117117
with:
118-
java-version: '17'
118+
java-version: '21'
119119
distribution: 'temurin'
120120

121121
- name: Setup Gradle
@@ -143,4 +143,4 @@ jobs:
143143
uses: actions/upload-artifact@v4
144144
with:
145145
name: test-reports-${{ matrix.api-level }}
146-
path: '**/build/reports/androidTests'
146+
path: '**/build/reports/androidTests'

0 commit comments

Comments
 (0)