Skip to content

Commit 823219f

Browse files
committed
Merge branch '2.16' into 2.17
2 parents 31532b4 + efcd1e4 commit 823219f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
distribution: 'temurin'
3535
java-version: ${{ matrix.java_version }}
3636
cache: 'maven'
37-
server-id: sonatype-nexus-snapshots
37+
server-id: central-snapshots
3838
server-username: CI_DEPLOY_USERNAME
3939
server-password: CI_DEPLOY_PASSWORD
4040
# See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
@@ -44,11 +44,11 @@ jobs:
4444
run: ./mvnw -B -q -ff -ntp verify
4545
- name: Extract project Maven version
4646
id: projectVersion
47-
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.3.0:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
47+
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.5.1:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
4848
- name: Deploy snapshot
49-
if: github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT')
49+
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
5050
env:
51-
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
52-
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}
51+
CI_DEPLOY_USERNAME: ${{ secrets.CENTRAL_DEPLOY_USERNAME }}
52+
CI_DEPLOY_PASSWORD: ${{ secrets.CENTRAL_DEPLOY_PASSWORD }}
5353
# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
5454
run: ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy

0 commit comments

Comments
 (0)