Skip to content

Commit

Permalink
#47 CI: setup GitHub credentials
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeny Malygin <[email protected]>
  • Loading branch information
678098 authored Oct 30, 2023
1 parent f4e9ab1 commit 849e252
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ jobs:
server-password: OSSRH_PASSWORD
gpg-private-key: ${{ secrets.GPG_KEY }}
gpg-passphrase: GPG_KEY_PASSPHRASE


- name: 'Set up GitHub credentials'
run: |
git config --global user.email "[email protected]"
git config --global user.name "Bloomberg Open Source"
- name: 'Publish snapshot to OSSRH'
run: mvn --batch-mode -Possrh -Darguments="-Dmaven.test.skip=true -Dspotbugs.skip=true -Dgpg.keyname=${{ secrets.GPG_KEY_ID }} -Dgpg.passphrase=${{ secrets.GPG_KEY_PASSPHRASE }}" release:prepare release:perform
env:
Expand Down

0 comments on commit 849e252

Please sign in to comment.