Skip to content

Commit

Permalink
chore: attempt to fix maven publish
Browse files Browse the repository at this point in the history
  • Loading branch information
jahirfiquitiva committed Jun 30, 2024
1 parent d9a89c3 commit 56cec69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

# Runs upload, and then closes & releases the repository
- name: Publish to MavenCentral
run: ./gradlew publishReleasePublicationToSonatypeRepository --max-workers 1 closeAndReleaseStagingRepository
run: ./gradlew publishReleasePublicationToSonatypeRepository --max-workers 1 closeAndReleaseSonatypeStagingRepository
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish-mavencentral.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ afterEvaluate {
}
repositories {
maven {
name = "devjahir"
name = "sonatype"
url = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"

credentials {
Expand Down

0 comments on commit 56cec69

Please sign in to comment.