Skip to content

Commit 221174e

Browse files
authored
Update maven.yml
1 parent 5712801 commit 221174e

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

.github/workflows/maven.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,10 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19-
- name: Set up JDK 17
20-
uses: actions/setup-java@v2
19+
- uses: actions/setup-java@v2
2120
with:
2221
java-version: '17'
2322
distribution: 'adopt'
24-
cache: maven
23+
cache: 'maven'
2524
- name: Run Tests
26-
run: mvn -B test --file pom.xml
27-
build:
28-
29-
runs-on: ubuntu-latest
30-
31-
steps:
32-
- uses: actions/checkout@v2
33-
- name: Set up JDK 17
34-
uses: actions/setup-java@v2
35-
with:
36-
java-version: '17'
37-
distribution: 'adopt'
38-
cache: maven
39-
- name: Build Artifacts
40-
run: mvn -B package --file pom.xml
25+
run: mvn test --file pom.xml

0 commit comments

Comments
 (0)