Skip to content

Commit 3022292

Browse files
committed
chore: Fix git config
1 parent d57fbd8 commit 3022292

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ jobs:
1717
java-version: '11'
1818
check-latest: true
1919
server-id: 'central'
20-
server-username: MVN_CENTRAL_USERNAME
21-
server-password: MVN_CENTRAL_PASSWORD
20+
server-username: OSSRH_USERNAME
21+
server-password: OSSRH_PASSWORD
2222
cache: 'maven'
2323
- name: Build & Deploy
2424
run: |
25+
git config --global user.name github-actions[bot]
26+
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com
2527
mvn -B gitflow:release
2628
env:
27-
MVN_CENTRAL_USERNAME: ${{ secrets.MVN_CENTRAL_USERNAME }}
28-
MVN_CENTRAL_PASSWORD: ${{ secrets.MVN_CENTRAL_PASSWORD }}
29+
OSSRH_USERNAME: ${{ secrets.OSS_SONATYPE_USER }}
30+
OSSRH_PASSWORD: ${{ secrets.OSS_SONATYPE_PASS }}

0 commit comments

Comments
 (0)