Skip to content

Commit d73cdfa

Browse files
authored
artifact signing fix attempt #1
1 parent fff4e16 commit d73cdfa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
name: Install gpg secret key
1616
run: |
1717
echo "${{ secrets.PGP_SECRET }}" | base64 -d | gpg --batch --import
18+
export GPG_TTY=$(tty || echo "")
1819
gpg --list-secret-keys --keyid-format SHORT
1920
- uses: actions/setup-java@v2
2021
with:
@@ -24,4 +25,4 @@ jobs:
2425
run: ./gradlew -Pversion=${{ steps.tag.outputs.version }} -Psigning.password=${{ secrets.PGP_PASSPHRASE }} publish
2526
env:
2627
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
27-
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
28+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}

0 commit comments

Comments
 (0)