Skip to content

Commit

Permalink
Updating gpg signing
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaytotomato committed Aug 2, 2024
1 parent 673238c commit f0e9a9c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ jobs:

- name: Build with Maven
run: mvn --batch-mode clean verify
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

- name: Run SonarCloud Scan
env:
Expand Down
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
<!--suppress UnresolvedMavenProperty -->
<keyname>${env.GPG_PRIVATE_KEY}</keyname>
<!--suppress UnresolvedMavenProperty -->
<passphrase>${env.GPG_PASSPHRASE}</passphrase>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit f0e9a9c

Please sign in to comment.