Skip to content

Commit 59faf02

Browse files
committed
Set server identifier to central
Set server identifier to central
1 parent 816f52d commit 59faf02

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
distribution: 'zulu'
3535
java-version: ${{ matrix.java-version }}
3636
cache: 'maven'
37+
server-id: central
38+
server-username: MAVEN_USERNAME
39+
server-password: MAVEN_PASSWORD
3740

3841
- name: Set Maven server credentials
3942
uses: s4u/maven-settings-action@v3.1.0

.github/workflows/pullrequest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
distribution: 'zulu'
2929
java-version: ${{ matrix.java-version }}
3030
cache: 'maven'
31-
server-id: sonatype
31+
server-id: central
3232
server-username: MAVEN_USERNAME
3333
server-password: MAVEN_PASSWORD
3434

0 commit comments

Comments
 (0)