Skip to content

Commit 02ce009

Browse files
committed
Merge branch '2.18' into 2.19
2 parents 00ea88c + e16c19a commit 02ce009

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
distribution: 'temurin'
3131
java-version: ${{ matrix.java_version }}
3232
cache: 'maven'
33-
server-id: sonatype-nexus-snapshots
33+
server-id: central-snapshots
3434
server-username: CI_DEPLOY_USERNAME
3535
server-password: CI_DEPLOY_PASSWORD
3636
# See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
@@ -44,7 +44,7 @@ jobs:
4444
- name: Deploy snapshot
4545
if: ${{ matrix.snapshot && github.event_name != 'pull_request' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
4646
env:
47-
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
48-
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}
47+
CI_DEPLOY_USERNAME: ${{ secrets.CENTRAL_DEPLOY_USERNAME }}
48+
CI_DEPLOY_PASSWORD: ${{ secrets.CENTRAL_DEPLOY_PASSWORD }}
4949
# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
5050
run: ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy

0 commit comments

Comments
 (0)