Skip to content

Commit e600795

Browse files
authored
s4u/setup-maven-action to get a current Maven version
1 parent 1fe5631 commit e600795

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/maven.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
name: CI
22
on:
3+
push:
34
pull_request:
4-
branches:
5-
- master
65
jobs:
76
build:
87
strategy:
98
matrix:
109
java: ["11", "17"]
1110
runs-on: ubuntu-latest
1211
steps:
13-
- uses: actions/checkout@v3
14-
- name: Set up JDK ${{ matrix.java }}
15-
uses: actions/setup-java@v3
12+
- name: Setup Maven Action
13+
1614
with:
1715
java-version: "${{ matrix.java }}"
18-
distribution: temurin
1916
- name: Build with Maven
2017
run: mvn -B -V -ntp -Dstyle.color=always package
2118
env:

0 commit comments

Comments
 (0)