Skip to content

Commit

Permalink
feature: add maven release to github release action
Browse files Browse the repository at this point in the history
  • Loading branch information
lmoesle committed Apr 8, 2024
1 parent db32d95 commit 458bba3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow-build-and-release-services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ jobs:
# Import it to GPG keyring and trust it.
#
- name: PREP / Import GPG key
# if: inputs.maven-release == true
if: inputs.maven-release == true
run: echo "${{ secrets.PGP_PRIVATE_KEY }}" | gpg --import --no-tty --batch --yes --always-trust
env:
PGP_PRIVATE_KEY: ${{ secrets.PGP_PRIVATE_KEY }}
#
# Show available keys. This will hide the key name (since it is in the secrets), but show for example expiration date
#
- name: PREP / List GPG keys available
# if: inputs.maven-release == true
if: inputs.maven-release == true
run: gpg --list-secret-keys --keyid-format=long

- name: BUILD / Build with Maven
Expand Down

0 comments on commit 458bba3

Please sign in to comment.