From 30d391daae1d78ec90691efa48bf377d25341353 Mon Sep 17 00:00:00 2001 From: Jean-Kevin KPADEY Date: Sun, 19 May 2024 17:03:18 +0200 Subject: [PATCH] Fix gpg signing after plugin update --- .github/workflows/deploy.yml | 9 +++++---- pom.xml | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e5b91a41..7b7bcf90 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,13 +18,14 @@ jobs: distribution: 'adopt' java-version: '17' cache: 'maven' - server-username: ${{ secrets.SONATYPE_USERNAME }} - server-password: ${{ secrets.SONATYPE_PASSWORD }} + server-id: ossrh + server-username: SONATYPE_USERNAME + server-password: SONATYPE_PASSWORD gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} - gpg-passphrase: ${{ secrets.MAVEN_GPG_PASSPHRASE }} + gpg-passphrase: MAVEN_GPG_PASSPHRASE - name: Publish to Apache Maven Central - run: mvn clean -DskipTests deploy --settings .settings.xml -P release,ossrh + run: mvn clean -DskipTests deploy -P release,ossrh env: SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} diff --git a/pom.xml b/pom.xml index bb6de10a..8c6d9d21 100644 --- a/pom.xml +++ b/pom.xml @@ -58,7 +58,7 @@ 5.10.2 3.3.1 3.13.0 - 3.1.0 + 3.2.4 3.6.3 3.5.0 3.12.1