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 33
33
distribution : ' temurin'
34
34
java-version : ${{ matrix.java_version }}
35
35
cache : ' maven'
36
- server-id : sonatype-nexus -snapshots
36
+ server-id : central -snapshots
37
37
server-username : CI_DEPLOY_USERNAME
38
38
server-password : CI_DEPLOY_PASSWORD
39
39
# See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
47
47
- name : Deploy snapshot
48
48
if : ${{ matrix.release_build && github.event_name != 'pull_request' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
49
49
env :
50
- CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME }}
51
- CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD }}
50
+ CI_DEPLOY_USERNAME : ${{ secrets.CENTRAL_DEPLOY_USERNAME }}
51
+ CI_DEPLOY_PASSWORD : ${{ secrets.CENTRAL_DEPLOY_PASSWORD }}
52
52
# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
53
53
run : ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy
54
54
- name : Generate code coverage
You can’t perform that action at this time.
0 commit comments