Skip to content
This repository was archived by the owner on Oct 9, 2026. It is now read-only.

Commit 6367e2c

Browse files
chore: Upgrade Java version to 21 and update GitHub Actions configurations
Signed-off-by: Mario Serrano <mario@dynamiasoluciones.com>
1 parent 50a5c37 commit 6367e2c

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎.github/workflows/maven.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v3
16-
- name: Set up JDK 17
17-
uses: actions/setup-java@v3
15+
- uses: actions/checkout@v4
16+
- name: Set up JDK 21
17+
uses: actions/setup-java@v4
1818
with:
19-
java-version: 17
19+
java-version: 21
2020
architecture: x64
21-
distribution: corretto
21+
distribution: temurin
2222
cache: maven
2323
- name: Build with Maven
2424
run: mvn -B package --file sources/pom.xml

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v4
18-
- name: Set up JDK 17
18+
- name: Set up JDK 21
1919
uses: actions/setup-java@v4
2020
with:
21-
java-version: 17
21+
java-version: 21
2222
architecture: x64
23-
distribution: corretto
23+
distribution: temurin
2424
cache: maven
2525
server-id: central
2626
server-username: MAVEN_USERNAME # env variable for username in deploy

‎sources/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<dynamiatools.version>5.4.5</dynamiatools.version>
5252
<springboot.version>3.5.5</springboot.version>
5353
<saas.version>3.4.4</saas.version>
54-
<java.version>17</java.version>
54+
<java.version>21</java.version>
5555
<swaggerannotations.version>2.2.36</swaggerannotations.version>
5656

5757
<maven.compiler>3.13.0</maven.compiler>

0 commit comments

Comments
 (0)