diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9c8775d4d..70bbc469e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,6 +52,9 @@ jobs: server-username: MAVEN_CENTRAL_USERNAME server-password: MAVEN_CENTRAL_PASSWORD + - name: Compile the application before deployment + run: mvn compile + - name: Deploy to the Maven Central Repository run: mvn deploy -P release -DskipTests -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} -Dgpg.executable=gpg env: