diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bcb0b9be..21282c8b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,7 +116,6 @@ jobs: server-username: MAVEN_CENTRAL_USERNAME # env variable for username in deploy (1) server-password: MAVEN_CENTRAL_PASSWORD # env variable for token in deploy (2) gpg-private-key: ${{ secrets.GPG_KEY }} # Value of the GPG private key to import - gpg-passphrase: MAVEN_CENTRAL_GPG_PASSPHRASE # env variable for GPG private key passphrase (3) - name: Get Project Version run: | echo "PROJECT_VERSION=$(mvn --batch-mode help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV @@ -126,4 +125,4 @@ jobs: env: MAVEN_CENTRAL_USERNAME: ${{ secrets.SONATYPE_USERNAME }} # must be the same env variable name as (1) MAVEN_CENTRAL_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} # must be the same env variable name as (2) - MAVEN_CENTRAL_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} # must be the same env variable name as (3) + MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} # must be the same env variable name as (3)