From 26395c9fcff1b35ef4d0d6551033cfa085ec48af Mon Sep 17 00:00:00 2001 From: Jermaine Hua Date: Mon, 19 Aug 2024 14:00:41 +0800 Subject: [PATCH] Test deploy failed (#1338) * test deploy failed Signed-off-by: JermaineHua * Add mvn clean for release Signed-off-by: JermaineHua --------- Signed-off-by: JermaineHua --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c7d43ffbe..8e9af87b9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase - name: Build with Maven - run: mvn --batch-mode deploy -DskipTests -Prelease -X + run: mvn clean install --batch-mode deploy -DskipTests -Prelease env: MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}