Skip to content

Commit dfc9dbb

Browse files
committed
Build with JDK 25 in CI
Signed-off-by: nscuro <nscuro@protonmail.com>
1 parent 111f174 commit dfc9dbb

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
timeout-minutes: 30
1818
steps:
1919
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # tag=v6.0.1
20-
- name: Set up JDK 8
20+
- name: Set up JDK
2121
uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # tag=v5.1.0
2222
with:
2323
distribution: temurin
24-
java-version: 8
24+
java-version: '25'
2525
- name: Build with Maven
2626
run: mvn -B --no-transfer-progress package
2727
- name: Deploy documentation

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
# PRs from forks do not get access to repository secrets.
3434
# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
3535
- name: Publish test coverage
36-
if: ${{ github.event_name != 'pull_request' && github.repository_owner == 'CycloneDX' && matrix.java-version == '21' }}
36+
if: ${{ github.event_name != 'pull_request' && github.repository_owner == 'CycloneDX' && matrix.java-version == '25' }}
3737
uses: codacy/codacy-coverage-reporter-action@89d6c85cfafaec52c72b6c5e8b2878d33104c699 # tag=v1.3.0
3838
with:
3939
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}

.github/workflows/pr-test-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Download PR test coverage report
2121
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # tag=v7.0.0
2222
with:
23-
name: pr-test-coverage-report-java-21
23+
name: pr-test-coverage-report-java-25
2424
github-token: ${{ secrets.GITHUB_TOKEN }}
2525
run-id: ${{ github.event.workflow_run.id }}
2626
- name: Report Coverage to Codacy

.github/workflows/publish-snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up JDK
1818
uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # tag=v5.1.0
1919
with:
20-
java-version: '17'
20+
java-version: '25'
2121
distribution: 'temurin'
2222
server-id: central
2323
server-username: MAVEN_CENTRAL_USERNAME

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up JDK
2626
uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # tag=v5.1.0
2727
with:
28-
java-version: '17'
28+
java-version: '25'
2929
distribution: 'temurin'
3030
server-id: central
3131
server-username: MAVEN_CENTRAL_USERNAME

0 commit comments

Comments
 (0)