diff --git a/.github/workflows/maven_deploy.yml b/.github/workflows/maven_deploy.yml index 0e77614..0858246 100644 --- a/.github/workflows/maven_deploy.yml +++ b/.github/workflows/maven_deploy.yml @@ -28,13 +28,12 @@ jobs: server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD - # TODO: -# gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} # has to be read directly from secrets -# gpg-passphrase: MAVEN_GPG_PASSPHRASE # default name used by maven-gpg-plugin + gpg-private-key: ${{ secrets.SIGN_KEY }} # has to be read directly from secrets + gpg-passphrase: SIGN_KEY_PASS # default name used by maven-gpg-plugin - name: Publish package # run: mvn --batch-mode deploy run: mvn -V --errors --show-version --batch-mode --no-transfer-progress -Ddoclint=all deploy env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} -# MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} + MAVEN_GPG_PASSPHRASE: ${{ secrets.SIGN_KEY_PASS }} diff --git a/pom.xml b/pom.xml index bcbc454..37dd715 100644 --- a/pom.xml +++ b/pom.xml @@ -28,7 +28,7 @@ --> io.github.homebeaver isoiec7064 - 1.10.1 + 1.10.2 jar IsoIec7064 @@ -132,26 +132,22 @@ - org.apache.maven.plugins maven-gpg-plugin 3.2.7 - sign-artifacts verify sign - - sign-key-id - sign-key-id - -use simplify4u : --> + sign - - - sign-key-id - + --> org.apache.maven.plugins