Skip to content

Commit da386f7

Browse files
committed
fixup: skip checkstyle in publish
Signed-off-by: Todd Baert <[email protected]>
1 parent 6423fe9 commit da386f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release-please.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,16 @@ jobs:
5858
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
5959

6060
# Release Please has already incremented versions and published tags, so we just need to publish (skip tests).
61-
- name: Maven Verify Deploy -DskipTests
61+
- name: Maven Verify Deploy -DskipTests -Dcheckstyle.skip
6262
# The nexus-staging-maven-plugin doesn't follow maven conventions. It stages all the projects with the last submodule: https://help.sonatype.com/repomanager2/staging-releases/configuring-your-project-for-deployment
6363
# This means there's no way to skip publishing of a particular module in a multi-module build, so we iterate over each module and publish them individually,
6464
# letting exists-maven-plugin skip the nexus-staging-maven-plugin's entire deploy goal if the artifact exists.
6565
run: |
66-
mvn --non-recursive --batch-mode --settings release/m2-settings.xml -DskipTests clean deploy
66+
mvn --non-recursive --batch-mode --settings release/m2-settings.xml -DskipTests -Dcheckstyle.skip clean deploy
6767
modules=($(cat pom.xml | grep "<module>" | sed 's/\s*<.*>\(.*\)<.*>/\1/'))
6868
for module in "${modules[@]}"
6969
do
70-
mvn --batch-mode --projects $module --settings release/m2-settings.xml -DskipTests clean deploy
70+
mvn --batch-mode --projects $module --settings release/m2-settings.xml -DskipTests -Dcheckstyle.skip clean deploy
7171
done
7272
env:
7373
CENTRAL_USERNAME: ${{ secrets.CENTRAL_USERNAME }}

0 commit comments

Comments
 (0)