Skip to content

Commit

Permalink
Update main.yml GPG_TTY=$(tty); to run publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Gering112 authored Mar 18, 2024
1 parent 2732121 commit e8f4140
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ jobs:
run: mvn -B package --file pom.xml

- name: Publish to Apache Maven Central
run: mvn -s .github/workflows/maven-release-setting.xml clean deploy -DdeployAtEnd=true -DperformRelease=true -DskipTests -Dspotbugs.skip=true
run: GPG_TTY=$(tty); mvn -s .github/workflows/maven-release-setting.xml clean deploy -DdeployAtEnd=true -DperformRelease=true -DskipTests -Dspotbugs.skip=true
env:
SERVER_OSSRH_USERNAME: ${{ secrets.SERVER_OSSRH_USERNAME }}
SERVER_OSSRH_PASSWORD: ${{ secrets.SERVER_OSSRH_PASSWORD }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GPG_TTY: $(tty)

0 comments on commit e8f4140

Please sign in to comment.