Skip to content

Commit

Permalink
Trying to fix publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Galarzaa90 committed Jan 26, 2022
1 parent f09193c commit 774c5c0
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 @@ -30,7 +30,7 @@ jobs:
- name: 🚀 Publish
uses: gradle/gradle-build-action@v2
with:
arguments: -x test publishToSonatype closeAndReleaseStagingRepository
arguments: -x test publishReleasePublicationToMavenRepository closeAndReleaseStagingRepository
env:
SONATYPE_USER: ${{secrets.SONATYPE_USER}}
SONATYPE_PASSWORD: ${{secrets.SONATYPE_PASSWORD}}
Expand Down
2 changes: 1 addition & 1 deletion publish.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ val publications: PublicationContainer = (extensions.getByName("publishing") as
afterEvaluate {
publishing {
publications {
register<MavenPublication>("mavenJar") {
register<MavenPublication>("release") {
from(components["java"])
version = Library.version
groupId = Library.group
Expand Down

0 comments on commit 774c5c0

Please sign in to comment.