Skip to content

Commit 891cee5

Browse files
committed
Update maven.yml
1 parent 15859f5 commit 891cee5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/maven.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,16 @@ jobs:
2626
uses: actions/setup-java@v4
2727
with:
2828
java-version: ${{ matrix.java-version }}
29-
distribution: 'temurin'
29+
distribution: "temurin"
3030
- name: Cache local Maven repository
3131
uses: actions/cache@v4
3232
with:
3333
path: ~/.m2/repository
3434
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
3535
restore-keys: |
3636
${{ runner.os }}-maven-
37+
- name: Install dependencies
38+
run: mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true --batch-mode --show-version --file pom.xml
3739
- name: Build with Maven
38-
run: mvn clean install --batch-mode --show-version --file pom.xml
40+
run: mvn test --batch-mode --file pom.xml
3941

0 commit comments

Comments
 (0)