Skip to content

Commit

Permalink
expose tty
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyxu committed Jul 12, 2024
1 parent 2e95685 commit 718df33
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/java-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,12 @@ jobs:
run: |
git config --global user.email "Lance Github Runner"
git config --global user.name "dev+gha@lancedb.com"
echo "GPG_TTY=$(tty)" >> ~/.bashrc
export GPG_TTY=$(tty)
- name: Release prepare with Java 8
run: |
mvn release:prepare -B -DskipTests -DpushChanges=false
- name: Publish with Java 8
run: |
mvn --batch-mode -DskipTests -DpushChanges=false -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} deploy -P deploy-to-ossrh
GPG_TTY=$(tty) mvn --batch-mode -DskipTests -DpushChanges=false -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} deploy -P deploy-to-ossrh
env:
MAVEN_USERNAME: ${{ secrets.SONATYPE_USER }}
MAVEN_PASSWORD: ${{ secrets.SONATYPE_TOKEN }}

0 comments on commit 718df33

Please sign in to comment.