diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 62f1f95..b74f8e3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -30,7 +30,7 @@ jobs: distribution: 'temurin' server-id: ossrh server-username: MAVEN_USERNAME - server-password: MAVEN_CENTRAL_TOKEN + server-password: MAVEN_PASSWORD gpg-private-key: ${{ secrets.JRELEASER_GPG_SECRET_KEY }} gpg-passphrase: MAVEN_GPG_PASSPHRASE @@ -63,8 +63,8 @@ jobs: run: | mvn --batch-mode clean verify deploy -X env: - MAVEN_USERNAME: ${{ secrets.JRELEASER_NEXUS2_PASSWORD }} - MAVEN_CENTRAL_TOKEN: ${{ secrets.JRELEASER_NEXUS2_USERNAME }} + MAVEN_USERNAME: ${{ secrets.JRELEASER_NEXUS2_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.JRELEASER_NEXUS2_PASSWORD }} MAVEN_GPG_PASSPHRASE: ${{ secrets.JRELEASER_GPG_PASSPHRASE }} - name: Back to Snapshot