Skip to content

Commit e77657a

Browse files
committed
use jdk 21 in CI builds
1 parent 8290f06 commit e77657a

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- name: Checkout source code
1717
uses: actions/checkout@v2
1818

19-
- name: Set up JDK 1.8
19+
- name: Set up JDK 21
2020
uses: actions/setup-java@v1
2121
with:
22-
java-version: 1.8
22+
java-version: 21
2323

2424
- name: Deploy Snapshots with Maven
2525
run: mvn -B deploy -s .maven_settings.xml -DretryFailedDeploymentCount=10

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ jobs:
103103
with:
104104
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
105105

106-
- name: Set up JDK 1.8
106+
- name: Set up JDK 21
107107
uses: actions/setup-java@v1
108108
with:
109-
java-version: 1.8
109+
java-version: 21
110110

111111
- name: Get email
112112
id: get_email

.github/workflows/site.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ jobs:
3838
with:
3939
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
4040

41-
- name: Set up JDK 1.8
41+
- name: Set up JDK 21
4242
uses: actions/setup-java@v1
4343
with:
44-
java-version: 1.8
44+
java-version: 21
4545

4646
- name: Get email
4747
id: get_email

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
- name: Checkout source code
1313
uses: actions/checkout@v3
1414

15-
- name: Set up JDK 1.8
15+
- name: Set up JDK 21
1616
uses: actions/setup-java@v1
1717
with:
18-
java-version: 1.8
18+
java-version: 21
1919

2020
- name: Build and run tests
2121
run: |

0 commit comments

Comments
 (0)