@@ -27,28 +27,28 @@ jobs:
2727 with :
2828 distribution : ' temurin'
2929 java-version : ${{ matrix.java_version }}
30+ cache : ' maven'
3031 server-id : sonatype-nexus-snapshots
3132 server-username : CI_DEPLOY_USERNAME
3233 server-password : CI_DEPLOY_PASSWORD
33- cache : ' maven'
3434 # See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
3535 # gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
3636 # gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
3737 - name : Build project
38- run : ./mvnw -V -B -ff -ntp verify
38+ run : ./mvnw -B -q -ff -ntp verify
3939 - name : Extract project Maven version
4040 id : projectVersion
4141 run : echo ::set-output name=version::$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -DforceStdout -Dexpression=project.version -q)
4242 - name : Deploy snapshot
43- if : github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.output , '-SNAPSHOT')
43+ if : github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version , '-SNAPSHOT')
4444 env :
4545 CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME }}
4646 CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD }}
4747 # MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
48- run : ./mvnw -B -ff -DskipTests -ntp source:jar deploy
48+ run : ./mvnw -B -q - ff -DskipTests -ntp source:jar deploy
4949 - name : Generate code coverage
5050 if : github.event_name != 'pull_request' && matrix.java_version == '8'
51- run : ./mvnw -B -ff -ntp test
51+ run : ./mvnw -B -q - ff -ntp test
5252 - name : Publish code coverage
5353 if : github.event_name != 'pull_request' && matrix.java_version == '8'
5454 uses : codecov/codecov-action@v1
0 commit comments