From 1cf0a800bd7dd6565bc240fb11f7bca3a2509870 Mon Sep 17 00:00:00 2001 From: Jason Ernst Date: Tue, 6 Aug 2024 12:01:23 -0700 Subject: [PATCH] Trying to fix signing --- .github/workflows/tag.yml | 2 +- icmp-lib/build.gradle.kts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index e4fd3c7..50bd7f7 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -24,4 +24,4 @@ jobs: run: ./gradlew build - run: echo "Build status report=${{ job.status }}." - name: Deploy to Sonatype / Maven Central - run: ./gradlew -PcentralPortalToken='${{ secrets.CENTRAL_PORTAL_TOKEN }}' -PcentralPortalPassword='${{ secrets.CENTRAL_PORTAL_PASSWORD }}' -PsigningKeyId='${{ secrets.SIGNING_KEY_ID }}' -PsigningKeyPassword='${{ secrets.SIGNING_KEY_PASSWORD }}' -PsigningKey='${{ secrets.SIGNING_KEY }}' publishAllPublicationsToCentralPortal \ No newline at end of file + run: ./gradlew -PcentralPortalToken='${{ secrets.CENTRAL_PORTAL_TOKEN }}' -PcentralPortalPassword='${{ secrets.CENTRAL_PORTAL_PASSWORD }}' -Psigning.inMemoryKeyId='${{ secrets.SIGNING_KEY_ID }}' -Psigning.inMemoryKeyPassword='${{ secrets.SIGNING_KEY_PASSWORD }}' -Psigning.inMemoryKey='${{ secrets.SIGNING_KEY_IN_MEMORY }}' publishAllPublicationsToCentralPortal \ No newline at end of file diff --git a/icmp-lib/build.gradle.kts b/icmp-lib/build.gradle.kts index 7cf67bf..9f1324e 100644 --- a/icmp-lib/build.gradle.kts +++ b/icmp-lib/build.gradle.kts @@ -99,4 +99,6 @@ mavenPublishing { developerConnection = "scm:git:ssh://git@github.com/compscidr/icmp-android.git" } } + + signAllPublications() } \ No newline at end of file