File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2323 distribution : ' temurin'
2424 java-version : ${{ matrix.java_version }}
2525 cache : ' maven'
26- server-id : sonatype-nexus -snapshots
26+ server-id : central -snapshots
2727 server-username : CI_DEPLOY_USERNAME
2828 server-password : CI_DEPLOY_PASSWORD
2929 # See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
3737 - name : Deploy snapshot
3838 if : ${{ github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
3939 env :
40- CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME }}
41- CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD }}
40+ CI_DEPLOY_USERNAME : ${{ secrets.CENTRAL_DEPLOY_USERNAME }}
41+ CI_DEPLOY_PASSWORD : ${{ secrets.CENTRAL_DEPLOY_PASSWORD }}
4242 # MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
4343 run : ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy
You can’t perform that action at this time.
0 commit comments