Skip to content

Commit 552cfda

Browse files
committed
poke maven
1 parent 6c0c570 commit 552cfda

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/deploy-release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,10 @@ jobs:
4444
ORG_GRADLE_PROJECT_sonatypeRepo: ${{ secrets.SONATYPE_REPO }}
4545
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
4646
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
47-
run: ./gradlew publishSonatypePublicationToSonatypeRepository
47+
run: ./gradlew publishSonatypePublicationToSonatypeRepository
48+
49+
poke-maven-central:
50+
runs-on: ubuntu-latest
51+
steps:
52+
run: |
53+
curl -X POST "${{ secrets.SONATYPE_REPO }}/manual/upload/defaultRepository/dev.harrel"

setup/publishing.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ publishing {
1010
}
1111
maven {
1212
name = 'sonatype'
13-
url = 'https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2'
13+
url = findProperty('sonatypeRepo')
1414
credentials {
1515
username = findProperty('sonatypeUsername')
1616
password = findProperty('sonatypePassword')

0 commit comments

Comments
 (0)