Skip to content

Commit

Permalink
fix publishing the right publication to sonartype for gradle bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
tabilzad committed Dec 20, 2023
1 parent 139d1ee commit fe7d93a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,21 @@ jobs:
with:
arguments: assemble

# - name: Publish Ktor Plugin to Maven Central
# uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
# with:
# arguments: :create-plugin:publishSonartypePublicationToSonartypeRepository
# env:
# OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
# OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
# SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
# SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
# SIGNING_SECRET_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
- name: Publish Ktor Plugin to Maven Central
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
arguments: :create-plugin:publishSonartypePublicationToSonartypeRepository
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SIGNING_SECRET_KEY: ${{ secrets.GPG_PRIVATE_KEY }}

- name: Publish Ktor Gradle Plugin to Maven Central
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
arguments: :ktor-docs-plugin-gradle:publishPluginMavenPublicationToSonartypeRepository
arguments: :ktor-docs-plugin-gradle:publishSonartypePublicationToSonartypeRepository
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
Expand Down

0 comments on commit fe7d93a

Please sign in to comment.