Skip to content

Commit de80f8c

Browse files
authored
chore: skip tests in publish
Signed-off-by: Todd Baert <[email protected]>
1 parent 10e2175 commit de80f8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release-please.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ jobs:
5353
# 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,
5454
# letting exists-maven-plugin skip the nexus-staging-maven-plugin's entire deploy goal if the artifact exists.
5555
run: |
56-
mvn --non-recursive --batch-mode --settings release/m2-settings.xml clean deploy
56+
mvn --non-recursive --batch-mode --settings release/m2-settings.xml -DskipTests clean deploy
5757
modules=($(cat pom.xml | grep "<module>" | sed 's/\s*<.*>\(.*\)<.*>/\1/'))
5858
for module in "${modules[@]}"
5959
do
60-
mvn --batch-mode --projects $module --settings release/m2-settings.xml clean deploy
60+
mvn --batch-mode --projects $module --settings release/m2-settings.xml -DskipTests clean deploy
6161
done
6262
env:
6363
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}

0 commit comments

Comments
 (0)