Skip to content

Commit

Permalink
ci: add deployment to Maven Central
Browse files Browse the repository at this point in the history
Refs: #26
  • Loading branch information
ariwk committed Jun 27, 2024
1 parent 9bb339f commit 5624c17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
"id": "mavenCentralDeploy",
"properties":
{
"altDeploymentRepository": "ossrh::default::https://s01.oss.sonatype.org/content/repositories/snapshots/"
"altDeploymentRepository": "ossrh::default::https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
}
}
]
Expand All @@ -84,5 +84,5 @@ jobs:
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Publish to Maven Central
# if: ${{ !endsWith(steps.artefact_version.outputs.version, '-SNAPSHOT') }}
run: mvn -B deploy -PmavenCentralDeploy
if: ${{ !endsWith(steps.artefact_version.outputs.version, '-SNAPSHOT') }}
run: mvn --batch-mode deploy -PmavenCentralDeploy

0 comments on commit 5624c17

Please sign in to comment.