From f5a3ea97790c83871a52c05a3946690a7c22ed6c Mon Sep 17 00:00:00 2001 From: yma Date: Mon, 1 Sep 2025 16:57:30 +0800 Subject: [PATCH] Update github action server id central-portal-snapshots --- .github/workflows/merge-build.yml | 5 ++--- pom.xml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/merge-build.yml b/.github/workflows/merge-build.yml index 77f1fe3..1065e1f 100644 --- a/.github/workflows/merge-build.yml +++ b/.github/workflows/merge-build.yml @@ -46,13 +46,12 @@ jobs: uses: whelk-io/maven-settings-xml-action@v14 if: ${{ github.event.repository.fork == false }} with: - repositories: '[{ "id": "sonatype", "url": "https://oss.sonatype.org/content/repositories/snapshots/", "releases": {"enabled": "false"}, "snapshots": {"enabled": "true" }}]' - servers: '[{ "id": "sonatype", "username": "${{ secrets.SONATYPE_BOT_USERNAME}}", "password": "${{ secrets.SONATYPE_BOT_TOKEN}}" }]' + servers: '[{ "id": "central-portal-snapshots", "username": "${{ secrets.SONATYPE_BOT_USERNAME}}", "password": "${{ secrets.SONATYPE_BOT_TOKEN}}" }]' - name: "Maven Build & Deploy Snapshot to Sonatype OSSRH" if: ${{ github.event.repository.fork == false }} - run: mvn -B -e deploy -DaltDeploymentRepository=sonatype::default::https://oss.sonatype.org/content/repositories/snapshots/ + run: mvn -B -e deploy -DaltDeploymentRepository=central-portal-snapshots - name: "Maven Build" if: ${{ github.event.repository.fork == true }} diff --git a/pom.xml b/pom.xml index 44b693d..f2ed5f3 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ org.commonjava commonjava - 20 + 21-SNAPSHOT org.commonjava.indy