diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 5b09544ea..bd69688ce 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -53,11 +53,11 @@ jobs: # 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, # letting exists-maven-plugin skip the nexus-staging-maven-plugin's entire deploy goal if the artifact exists. run: | - mvn --non-recursive --batch-mode --settings release/m2-settings.xml clean deploy + mvn --non-recursive --batch-mode --settings release/m2-settings.xml -DskipTests clean deploy modules=($(cat pom.xml | grep "" | sed 's/\s*<.*>\(.*\)<.*>/\1/')) for module in "${modules[@]}" do - mvn --batch-mode --projects $module --settings release/m2-settings.xml clean deploy + mvn --batch-mode --projects $module --settings release/m2-settings.xml -DskipTests clean deploy done env: OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}