Skip to content

Commit

Permalink
Merge pull request #156 from Riskified/Gering112-patch-2
Browse files Browse the repository at this point in the history
TIS-646 Update main.yml GPG_TTY=$(tty); to run publish
beksina authored Mar 18, 2024
2 parents 2732121 + e8f4140 commit 19e57e9
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
@@ -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 19e57e9

Please sign in to comment.