Skip to content

Commit 68344d8

Browse files
committed
Improve github actions script
1 parent 9644a8d commit 68344d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build_deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
java-version: '11'
4040
distribution: 'temurin'
4141
- name: Build with Maven
42-
run: ./mvnw -B clean verify checkstyle:checkstyle jacoco:report -DcommonConfig.jarSign.skip=true
42+
run: ./mvnw -B clean verify -DcommonConfig.jarSign.skip=true
4343
- name: Analyze with SonaQube
4444
env:
4545
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
@@ -77,7 +77,7 @@ jobs:
7777
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
7878
- name: Publish package
7979
run: |
80-
./mvnw -B verify nexus-staging:deploy -P deploy && \
80+
./mvnw -B verify nexus-staging:deploy -P deploy -DskipTests && \
8181
./mvnw -B nexus-staging:release -P deploy
8282
env:
8383
OPENSOURCE_PROJECTS_KS_PW: ${{ secrets.KEYSTORE_PASSWORD }}

0 commit comments

Comments
 (0)