Skip to content

Commit 4e6406b

Browse files
authored
Upgrade JDK to 21 and clean up Maven workflow
Updated the JDK version from 17 to 21 in the Maven CI workflow. Removed unnecessary comments and the dependency graph update step.
1 parent 5736da1 commit 4e6406b

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/maven.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Java CI with Maven
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Set up JDK 21
17+
uses: actions/setup-java@v4
18+
with:
19+
java-version: '21'
20+
distribution: 'temurin'
21+
cache: maven
22+
- name: Build with Maven
23+
run: mvn -B package --file pom.xml

0 commit comments

Comments
 (0)