From 774c5c02e06cfd8fca1289ad136c3279bbf4ab06 Mon Sep 17 00:00:00 2001 From: Allan Galarza Date: Tue, 25 Jan 2022 19:18:14 -0700 Subject: [PATCH] Trying to fix publishing --- .github/workflows/publish.yml | 2 +- publish.gradle.kts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 893b27c79..b1d7779e7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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}} diff --git a/publish.gradle.kts b/publish.gradle.kts index f2eff1e5b..1d2abc1e9 100644 --- a/publish.gradle.kts +++ b/publish.gradle.kts @@ -17,7 +17,7 @@ val publications: PublicationContainer = (extensions.getByName("publishing") as afterEvaluate { publishing { publications { - register("mavenJar") { + register("release") { from(components["java"]) version = Library.version groupId = Library.group