diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 62b4f2e..5c93e92 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,4 +18,4 @@ jobs: java-version: 11 distribution: adopt - name: Build with Maven - run: mvn -B clean verify -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn + run: mvn -B clean verify diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ca52ef8..ce410b7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,7 +23,7 @@ jobs: gpg-private-key: ${{ secrets.PGP_KEY }} gpg-passphrase: PGP_PASSPHRASE - name: Build and Deploy with Maven - run: mvn -B -P sign-artifacts deploy -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn + run: mvn -B -P sign-artifacts clean deploy env: MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}