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 27
27
distribution : ' temurin'
28
28
java-version : ${{ matrix.java_version }}
29
29
cache : ' maven'
30
- server-id : sonatype-nexus -snapshots
30
+ server-id : central -snapshots
31
31
server-username : CI_DEPLOY_USERNAME
32
32
server-password : CI_DEPLOY_PASSWORD
33
33
# See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
41
41
- name : Deploy snapshot
42
42
if : ${{ github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
43
43
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 }}
46
46
# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
47
47
run : ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy
You can’t perform that action at this time.
0 commit comments