From f492807e718dd82e9d0a9c3bbce5f17f618175a2 Mon Sep 17 00:00:00 2001 From: Harald Kuhr Date: Wed, 24 May 2023 20:27:26 +0200 Subject: [PATCH] Remove transfer progress from Maven deploy output (cherry picked from commit 6dd74070f43746782ba956c61d13663f34bfdf40) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f4328b1..ecc88efc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,7 +95,7 @@ jobs: echo "PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV - name: Publish to Maven Central if: ${{ endsWith(env.PROJECT_VERSION, '-SNAPSHOT') }} - run: mvn deploy -P release -DskipTests + run: mvn --no-transfer-progress deploy -P release -DskipTests env: MAVEN_CENTRAL_USERNAME: ${{ secrets.SONATYPE_USERNAME }} # must be the same env variable name as (1) MAVEN_CENTRAL_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} # must be the same env variable name as (2)