Skip to content

Commit

Permalink
Use the publish task so publishes to all configured repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedol committed Oct 3, 2024
1 parent 770a262 commit 8abc10c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
uses: gradle/actions/setup-gradle@v4

- name: Publish release
run: ./gradlew publishAllPublicationsToMavenCentralRepository # All publications should go to Maven Central
run: ./gradlew publish # Publish all artifacts to all configured repositories. Maven Central for this project.
if: success()
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }}
Expand Down

0 comments on commit 8abc10c

Please sign in to comment.