Skip to content

Commit cec59a2

Browse files
Copilotcommjoen
andcommitted
Fix GitHub Actions by changing Java distribution from oracle to temurin
The Oracle JDK 23 distribution was causing GitHub Actions failures. Changed to use Temurin distribution which is more reliable and widely available for Java 23. Co-authored-by: commjoen <[email protected]>
1 parent dd46857 commit cec59a2

11 files changed

+16
-16
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
uses: actions/setup-java@v5
7070
with:
7171
java-version: "23"
72-
distribution: "oracle"
72+
distribution: "temurin"
7373
- name: run mvn clean package
7474
run: ./mvnw clean package -Ddependency-check.skip=true -Dmaven.test.skip=true
7575
- name: Perform CodeQL Analysis

.github/workflows/container_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: actions/setup-java@v5
2424
with:
2525
java-version: "23"
26-
distribution: "oracle"
26+
distribution: "temurin"
2727
cache: "maven"
2828
- name: Navigate to test script and run
2929
run: cd .github/scripts && bash docker-create.sh -t

.github/workflows/dast-zap-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/setup-java@v5
1919
with:
2020
java-version: "23"
21-
distribution: "oracle"
21+
distribution: "temurin"
2222
- name: Clean install
2323
run: ./mvnw --no-transfer-progress clean install -DskipTests -Ddependency-check.skip -Dcyclonedx.skip=true -Dexec.skip
2424
- name: Start wrongsecrets

.github/workflows/github-pages-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
uses: actions/setup-java@v5
3838
with:
3939
java-version: "23"
40-
distribution: "oracle"
40+
distribution: "temurin"
4141
cache: "maven"
4242

4343
- name: Build application (JAR only)

.github/workflows/java_swagger_doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/setup-java@v5
1919
with:
2020
java-version: "23"
21-
distribution: "oracle"
21+
distribution: "temurin"
2222
- name: Clean install
2323
run: ./mvnw --no-transfer-progress clean install -DskipTests -Ddependency-check.skip -Dcyclonedx.skip=true -Dexec.skip
2424
- name: Compile javadoc

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
uses: actions/setup-java@v5
3030
with:
3131
java-version: "23"
32-
distribution: "oracle"
32+
distribution: "temurin"
3333
cache: "maven"
3434
- name: checkstyle with Maven
3535
run: ./mvnw --no-transfer-progress checkstyle:check
@@ -43,7 +43,7 @@ jobs:
4343
uses: actions/setup-java@v5
4444
with:
4545
java-version: "23"
46-
distribution: "oracle"
46+
distribution: "temurin"
4747
cache: "maven"
4848
- name: spotbugs with Maven
4949
run: ./mvnw --no-transfer-progress package -DskipTests spotbugs:check
@@ -59,7 +59,7 @@ jobs:
5959
uses: actions/setup-java@v5
6060
with:
6161
java-version: "23"
62-
distribution: "oracle"
62+
distribution: "temurin"
6363
cache: "maven"
6464
- name: Test with Maven
6565
run: ./mvnw --no-transfer-progress test

.github/workflows/master-container-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: actions/setup-java@v5
2222
with:
2323
java-version: "23"
24-
distribution: "oracle"
24+
distribution: "temurin"
2525
cache: "maven"
2626

2727
- name: Extract version from pom.xml

.github/workflows/pr-preview.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
uses: actions/setup-java@v5
3030
with:
3131
java-version: "23"
32-
distribution: "oracle"
32+
distribution: "temurin"
3333
cache: "maven"
3434

3535
- name: Extract version from pom.xml
@@ -249,7 +249,7 @@ jobs:
249249
uses: actions/setup-java@v5
250250
with:
251251
java-version: "23"
252-
distribution: "oracle"
252+
distribution: "temurin"
253253
cache: "maven"
254254

255255
- name: Extract PR version
@@ -278,7 +278,7 @@ jobs:
278278
uses: actions/setup-java@v5
279279
with:
280280
java-version: "23"
281-
distribution: "oracle"
281+
distribution: "temurin"
282282
cache: "maven"
283283

284284
- name: Extract main version

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
cache: "npm"
3232
- uses: actions/setup-java@v5
3333
with:
34-
distribution: "oracle"
34+
distribution: "temurin"
3535
java-version: "23"
3636
- name: Install npm dependencies
3737
run: npm install

.github/workflows/version-sync-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: actions/setup-java@v5
2121
with:
2222
java-version: "23"
23-
distribution: "oracle"
23+
distribution: "temurin"
2424
cache: "maven"
2525

2626
- name: Validate version consistency

0 commit comments

Comments
 (0)