From 9569204689541a105d813edfa42c350e696c59c0 Mon Sep 17 00:00:00 2001 From: Todd Baert Date: Mon, 9 Oct 2023 13:51:26 -0400 Subject: [PATCH] chore: skip tests on deploy Signed-off-by: Todd Baert --- .github/workflows/release-please.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index dec0655de..4fd36317a 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -48,8 +48,8 @@ jobs: env: GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} - # Release Please has already incremented versions and published tags, so we just need to publish. - - name: Maven Verify Deploy + # Release Please has already incremented versions and published tags, so we just need to publish (skip tests). + - name: Maven Verify Deploy -DskipTests if: ${{ steps.release.outputs.releases_created }} # 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 # 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,