Skip to content

Commit

Permalink
ci(central): import GPG key before committing
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Jan 26, 2024
1 parent 503b659 commit 5d9baf1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/maven-central-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ jobs:
run: ./mvnw --batch-mode --no-transfer-progress clean install
- name: Set release version
run: ./mvnw --batch-mode --no-transfer-progress versions:set -DnewVersion=${{ github.event.inputs.version }}
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
- name: Commit & Push changes
uses: actions-js/push@v1.4
with:
Expand Down

0 comments on commit 5d9baf1

Please sign in to comment.