From ee523f0cc1921d231262f0b7d7fd9d4017832bac Mon Sep 17 00:00:00 2001 From: Javier Aliaga Date: Fri, 29 Aug 2025 12:09:16 +0200 Subject: [PATCH] ci: Do not run tests on publish step Signed-off-by: Javier Aliaga --- .github/workflows/build.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 186370aae..55d896dd2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -190,14 +190,11 @@ jobs: if: startswith(github.ref, 'refs/tags/v') && !contains(env.PARENT_VERSION, '-SNAPSHOT') run: | echo "DEPLOY_OSSRH=true" >> $GITHUB_ENV - - name: Install jars - if: env.DEPLOY_OSSRH == 'true' - run: ./mvnw install -DskipTests -B -q - name: Publish to ossrh if: env.DEPLOY_OSSRH == 'true' run: | echo ${{ secrets.GPG_PRIVATE_KEY }} | base64 -d > private-key.gpg export GPG_TTY=$(tty) gpg --batch --import private-key.gpg - ./mvnw -V -B -Dgpg.skip=false -s settings.xml deploy + ./mvnw -V -B -Dgpg.skip=false -DskipTests -s settings.xml deploy curl -X POST https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/io.dapr