Skip to content

Commit

Permalink
Fix for gpg signing (#75)
Browse files Browse the repository at this point in the history
* Adding publish workflow and gitpod config

* Fix for gpg signing

* Fix for coverage action

---------

Co-authored-by: noconnor <niall.oconnor@yahooinc.com>
  • Loading branch information
noconnor and noconnor committed Apr 13, 2023
1 parent ad70ef3 commit a86a60f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Java CI
on: [push, pull_request]
on: [push]
jobs:
build:
runs-on: ubuntu-latest
Expand Down
7 changes: 5 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,11 @@
<goal>sign</goal>
</goals>
<configuration>
<keyname>${gpg.keyname}</keyname>
<passphraseServerId>${gpg.keyname}</passphraseServerId>
<!-- Prevent gpg from using pinentry programs: https://github.com/actions/setup-java/issues/83 -->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit a86a60f

Please sign in to comment.