Skip to content

Commit

Permalink
Add pingentry mode to gpg import command
Browse files Browse the repository at this point in the history
  • Loading branch information
galderz committed Dec 10, 2020
1 parent 3153eb4 commit c247739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Publish package
run: |
echo "on a tag -> set pom.xml <version> to ${GITHUB_REF##*/}"
echo $GPG_SECRET_KEYS | base64 --decode | gpg --import
echo $GPG_SECRET_KEYS | base64 --decode | gpg --import --pinentry-mode loopback
echo $GPG_OWNERTRUST | base64 --decode | gpg --import-ownertrust
mvn -B org.codehaus.mojo:versions-maven-plugin:2.5:set -DnewVersion=${GITHUB_REF##*/}
mvn -B -Possrh deploy
Expand Down

0 comments on commit c247739

Please sign in to comment.