Skip to content

Commit 5da784b

Browse files
authored
Update maven.yml
1 parent 8bd867c commit 5da784b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/maven.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Git username
2020
run: |
2121
#
22-
git config --global user.email "git@github.com"
22+
git config --global user.email "vicky.thakor@javaquery.com"
2323
git config --global user.name "Vicky Thakor"
2424
- name: Set up JDK 1.8
2525
uses: actions/setup-java@v1.4.3
@@ -39,7 +39,11 @@ jobs:
3939
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
4040

4141
- name: Publish to Apache Maven Central
42-
run: mvn -X -e --batch-mode clean release:prepare release:perform
42+
run: |
43+
#
44+
git config --global user.email "vicky.thakor@javaquery.com"
45+
git config --global user.name "Vicky Thakor"
46+
mvn -X -e --batch-mode clean release:prepare release:perform
4347
env:
4448
MAVEN_USERNAME: javaquery
4549
MAVEN_CENTRAL_TOKEN: ${{ secrets.OSSRH_TOKEN }}

0 commit comments

Comments
 (0)