Skip to content

Commit

Permalink
Try to fix gpg env
Browse files Browse the repository at this point in the history
  • Loading branch information
killaitis committed Dec 16, 2021
1 parent 717a589 commit 80c68ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Expand Up @@ -18,10 +18,10 @@ jobs:
- name: Import PGP key
env:
PGP_PRIVATE_KEY: ${{ secrets.PGP_PRIVATE_KEY }}
run: gpg --import <(echo "$PGP_PRIVATE_KEY")
run: export GPG_TTY=$TTY && gpg --import <(echo "$PGP_PRIVATE_KEY")
- name: Publish
env:
CI_VERSION: ${{ github.ref }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
run: sbt "; + test; + publishSigned; sonatypeBundleRelease"
run: export GPG_TTY=$TTY && sbt "; + test; + publishSigned; sonatypeBundleRelease"

0 comments on commit 80c68ee

Please sign in to comment.