Skip to content

Commit

Permalink
updates command
Browse files Browse the repository at this point in the history
  • Loading branch information
ryankazokas committed Oct 18, 2024
1 parent 7251591 commit 6e6831f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,10 @@ jobs:
- name: list-keys
run: |
gpg --list-keys --keyid-format LONG
- name: Get GPG Key ID
id: gpg-key-id
run: |
gpg --list-secret-keys --keyid-format LONG | grep '^sec' | awk '{print $2}' | cut -d'/' -f2
- name: Extend GPG key expiration
run: |
echo -e "expire\n1y\nsave" | gpg --batch --command-fd 0 --edit-key C2B7EEEC51372BAB
echo -e "expire\n1y\nsave" > gpg_commands.txt
gpg --batch --yes --passphrase "${{ secrets.GPG_PASSPHRASE }}" --command-file gpg_commands.txt --edit-key C2B7EEEC51372BAB
- name: Publish package to maven central
run: mvn --batch-mode clean deploy -P central-deploy -DskipTests=true --update-snapshots -Prelease
env:
Expand Down

0 comments on commit 6e6831f

Please sign in to comment.