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 38
38
distribution : ' temurin'
39
39
java-version : ${{ matrix.java_version }}
40
40
cache : ' maven'
41
- server-id : sonatype-nexus -snapshots
41
+ server-id : central -snapshots
42
42
server-username : CI_DEPLOY_USERNAME
43
43
server-password : CI_DEPLOY_PASSWORD
44
44
# See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
56
56
- name : Deploy snapshot
57
57
if : ${{ github.event_name != 'pull_request' && matrix.snapshot && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
58
58
env :
59
- CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME }}
60
- CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD }}
59
+ CI_DEPLOY_USERNAME : ${{ secrets.CENTRAL_DEPLOY_USERNAME }}
60
+ CI_DEPLOY_PASSWORD : ${{ secrets.CENTRAL_DEPLOY_PASSWORD }}
61
61
# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
62
62
run : ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy
63
63
- name : Generate code coverage
You can’t perform that action at this time.
0 commit comments