Skip to content

Commit 56aeede

Browse files
committed
Maven build workflow: add java version
1 parent 7cdb729 commit 56aeede

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/maven-build.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,19 @@ jobs:
2222

2323
steps:
2424
- uses: actions/checkout@v3
25-
- name: Set up JDK 21
26-
uses: actions/setup-java@v3
27-
with:
28-
java-version: '21'
29-
distribution: 'temurin'
30-
cache: maven
25+
# - name: Set up JDK 21
26+
# uses: actions/setup-java@v3
27+
# with:
28+
# java-version: '21'
29+
# distribution: 'temurin'
30+
# cache: maven
3131

3232
- name: Set up Maven
3333
uses: actions/setup-java@v3
3434
with:
35-
maven-versions: '3.9.9'
35+
java-version: '21'
3636
distribution: 'temurin'
37+
maven-versions: '3.9.9'
3738

3839
- name: Build with Maven
3940
run: mvn -B -V package

0 commit comments

Comments
 (0)