Skip to content

Commit 3988a96

Browse files
committed
⬆️ Update CI to use Java 25 compiler (but still target Java 17)
1 parent 8f2d497 commit 3988a96

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/build-and-deploy-all.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010

1111
steps:
1212
- uses: actions/checkout@v6
13-
- name: Set up JDK 21
13+
- name: Set up JDK 25
1414
uses: actions/setup-java@v5
1515
with:
1616
distribution: 'oracle'
17-
java-version: '21'
17+
java-version: '25'
1818
cache: 'maven'
1919
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
2020
settings-path: ${{ github.workspace }} # location for the settings.xml file

.github/workflows/spring-boot-starter-only-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010

1111
steps:
1212
- uses: actions/checkout@v6
13-
- name: Set up JDK 21
13+
- name: Set up JDK 25
1414
uses: actions/setup-java@v5
1515
with:
1616
distribution: 'oracle'
17-
java-version: '21'
17+
java-version: '25'
1818
cache: 'maven'
1919
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
2020
settings-path: ${{ github.workspace }} # location for the settings.xml file

.github/workflows/spring-sample-web-apps-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
strategy:
1717
fail-fast: true
1818
matrix:
19-
java: [ 21 ]
19+
java: [ 25 ]
2020
experimental: [false]
21-
include:
22-
- java: 25
23-
experimental: true
21+
# include:
22+
# - java: 25
23+
# experimental: true
2424

2525
steps:
2626
- uses: actions/checkout@v6

0 commit comments

Comments
 (0)