File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ name: Build with Maven
33
44on :
55 push :
6- branches : [ master ]
6+ branches : [ main ]
77 pull_request :
8- branches : [ master ]
8+ branches : [ main ]
99 workflow_dispatch :
1010
1111jobs :
@@ -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
You can’t perform that action at this time.
0 commit comments