File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
4444 - name : Deploy snapshot
4545 if : ${{ github.event_name != 'pull_request' && matrix.java_version == '8' && 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 -ff -DskipTests -ntp source:jar deploy
You can’t perform that action at this time.
0 commit comments