diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index cadf174..e533555 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -64,7 +64,7 @@ jobs: "id": "mavenCentralDeploy", "properties": { - "altDeploymentRepository": "ossrh::default::https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/" + "altDeploymentRepository": "ossrh::default::https://oss.sonatype.org/content/repositories/snapshots/" } } ] @@ -84,5 +84,5 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} - name: Publish to Maven Central - if: ${{ !endsWith(steps.artefact_version.outputs.version, '-SNAPSHOT') && github.ref == 'refs/heads/main' }} + # if: ${{ !endsWith(steps.artefact_version.outputs.version, '-SNAPSHOT') && github.ref == 'refs/heads/main' }} run: mvn --batch-mode deploy -PmavenCentralDeploy