Skip to content

Commit 5da4790

Browse files
committed
Update CI as well
1 parent eb2a23d commit 5da4790

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
@@ -27,7 +27,7 @@ jobs:
2727
distribution: 'temurin'
2828
java-version: ${{ matrix.java_version }}
2929
cache: 'maven'
30-
server-id: sonatype-nexus-snapshots
30+
server-id: central-snapshots
3131
server-username: CI_DEPLOY_USERNAME
3232
server-password: CI_DEPLOY_PASSWORD
3333
# See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
@@ -41,7 +41,7 @@ jobs:
4141
- name: Deploy snapshot
4242
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
4343
env:
44-
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
45-
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}
44+
CI_DEPLOY_USERNAME: ${{ secrets.CENTRAL_DEPLOY_USERNAME }}
45+
CI_DEPLOY_PASSWORD: ${{ secrets.CENTRAL_DEPLOY_PASSWORD }}
4646
# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
4747
run: ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy

0 commit comments

Comments
 (0)