Skip to content

Commit bb5d648

Browse files
committed
Use specific setup-maven-action
1 parent 56aeede commit bb5d648

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

.github/workflows/maven-build.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,11 @@ jobs:
2121
runs-on: ubuntu-latest
2222

2323
steps:
24-
- 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
31-
32-
- name: Set up Maven
33-
uses: actions/setup-java@v3
24+
- name: Setup Maven
25+
3426
with:
35-
java-version: '21'
36-
distribution: 'temurin'
37-
maven-versions: '3.9.9'
27+
java-version: 21
28+
java-distribution: temurin
3829

3930
- name: Build with Maven
4031
run: mvn -B -V package

0 commit comments

Comments
 (0)