From d4cc2fc6fc2361209fb9ef20bf38b11e0151db45 Mon Sep 17 00:00:00 2001 From: Romuald Rousseau Date: Fri, 4 Oct 2024 10:53:00 +0800 Subject: [PATCH] fix: Skip tests --- .github/workflows/maven-deploy-doc.yml | 2 +- .github/workflows/maven-deploy-prod.yml | 2 +- .github/workflows/maven-deploy-snapshot.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven-deploy-doc.yml b/.github/workflows/maven-deploy-doc.yml index 4ffa77fc..5cad4c90 100644 --- a/.github/workflows/maven-deploy-doc.yml +++ b/.github/workflows/maven-deploy-doc.yml @@ -41,7 +41,7 @@ jobs: - name: Installing local dependencies run: mvn -U -B clean initialize - - name: Deploy project + - name: Install project run: mvn -U -B -DskipTests install - name: Build documentation diff --git a/.github/workflows/maven-deploy-prod.yml b/.github/workflows/maven-deploy-prod.yml index 64c316a4..26ad4ea6 100644 --- a/.github/workflows/maven-deploy-prod.yml +++ b/.github/workflows/maven-deploy-prod.yml @@ -51,7 +51,7 @@ jobs: - name: Deploy project run: | export GPG_TTY=$(tty) - mvn -U -B deploy -P release -s .mvn/settings.xml + mvn -U -B -DskipTests deploy -P release -s .mvn/settings.xml env: OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }} diff --git a/.github/workflows/maven-deploy-snapshot.yml b/.github/workflows/maven-deploy-snapshot.yml index 5af7de6b..48950306 100644 --- a/.github/workflows/maven-deploy-snapshot.yml +++ b/.github/workflows/maven-deploy-snapshot.yml @@ -29,7 +29,7 @@ jobs: run: mvn -U -B clean initialize - name: Deploy project snapshot - run: mvn -U -B deploy -P snapshot -s .mvn/settings.xml + run: mvn -U -B -DskipTests deploy -P snapshot -s .mvn/settings.xml env: OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}