Skip to content

Commit

Permalink
Only have setup-java configure GPG once
Browse files Browse the repository at this point in the history
The setup-java action tries to remove the key twice if it is configured twice.

See: actions/setup-java#128
  • Loading branch information
eriksw committed Aug 7, 2023
1 parent 1834277 commit 6a79470
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ jobs:
server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml
server-username: MAVEN_USERNAME # env variable for username in deploy
server-password: MAVEN_CENTRAL_TOKEN # env variable for token in deploy
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
- name: Deploy Release to Maven Central
run: mvn --batch-mode --no-transfer-progress -Drevision=${GITHUB_REF_NAME##v} -Dtag=${{ github.ref_name }} -Dtree=${{ github.ref_name }} deploy -P release,ossrh
env:
Expand Down

0 comments on commit 6a79470

Please sign in to comment.