Skip to content

Commit 9ded08c

Browse files
Updating Github workflows from JDK 11 to JDK 17
1 parent 47bcb8f commit 9ded08c

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/deployment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v3
1616

17-
- name: Set up JDK 11
17+
- name: Set up JDK 17
1818
uses: actions/setup-java@v3
1919
with:
20-
java-version: '11'
20+
java-version: '17'
2121
distribution: 'temurin'
2222
cache: maven
2323

@@ -48,7 +48,7 @@ jobs:
4848
file: target/release/**/*.*
4949
file_glob: true
5050
overwrite: true
51-
body: "Support of **ODF 1.2** and >=**JDK 11**\n
51+
body: "Support of **ODF 1.2** and >=**JDK 17**\n
5252
\n
5353
Detailed documentation:\n
5454
https://tdf.github.io/odftoolkit/ReleaseNotes.html#release-${{ env.release_version }}\n

.github/workflows/maven.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
13-
- name: Set up JDK 11
13+
- name: Set up JDK 17
1414
uses: actions/setup-java@v3
1515
with:
16-
java-version: '11'
17-
distribution: 'adopt'
16+
java-version: '17'
17+
distribution: 'temurin'
1818
cache: maven
1919
- name: Build with Maven
2020
run: mvn -B package -Ppedantic --file pom.xml
@@ -32,11 +32,11 @@ jobs:
3232
- uses: actions/checkout@v4
3333
with:
3434
fetch-depth: 0
35-
- name: Set up JDK 11
35+
- name: Set up JDK 17
3636
uses: actions/setup-java@v4
3737
with:
38-
java-version: 11
39-
distribution: 'adopt'
38+
java-version: 17
39+
distribution: 'temurin'
4040
- name: Cache SonarCloud packages
4141
uses: actions/cache@v4
4242
with:

0 commit comments

Comments
 (0)