Skip to content

Commit

Permalink
#153 fix mave publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
luigi-asprino authored Nov 24, 2023
1 parent a15be0a commit d8eb7b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish_to_mvn-central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ jobs:
- name: Install gpg key and publish package
run: |
echo -e "Releasing ${{ github.ref_name }}"
echo -e "$(tty)"
# This avoids gpg: signing failed: Inappropriate ioctl for device error
# See https://github.com/keybase/keybase-issues/issues/2798
export GPG_TTY=$(tty)
# export GPG_TTY=$(tty)
export GPG_TTY=`tty`
# https://gist.github.com/sualeh/ae78dc16123899d7942bc38baba5203c
echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}" | gpg --batch --import
gpg --list-secret-keys --keyid-format LONG
Expand Down

0 comments on commit d8eb7b8

Please sign in to comment.