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)