From 7de9ebc5fd47efad4a4f9a984fa780bee0ad1eb3 Mon Sep 17 00:00:00 2001 From: "Marc R. Hoffmann" Date: Tue, 14 Nov 2023 15:51:14 +0100 Subject: [PATCH] WIP: Check whether -B is enough --- .github/workflows/build.yml | 2 +- .github/workflows/deploy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }}