Skip to content

Commit

Permalink
Fix: add GPG key import step to tagging action
Browse files Browse the repository at this point in the history
  • Loading branch information
dabico committed Dec 11, 2023
1 parent dc03627 commit 1b70353
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/tagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,22 @@ jobs:
uses: s4u/[email protected]
with:
checkout-persist-credentials: true
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_KEY_PRIVATE }}
passphrase: ${{ secrets.GPG_KEY_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
- name: Update artifact version in POM
run: mvn versions:set -DnewVersion=${{ github.event.inputs.version }}
- name: Create and push tag
uses: EndBug/add-and-commit@v9
with:
add: 'pom.xml'
default_author: user_info
commit: '-S'
author_name: 'seart-bot'
author_email: '[email protected]'
message: 'New release: ${{ github.event.inputs.version }}'
tag: 'v${{ github.event.inputs.version }} --force'
tag_push: '--force'

0 comments on commit 1b70353

Please sign in to comment.