From 6b51190ea471482375286fca2ae878dec4baabed Mon Sep 17 00:00:00 2001 From: Chris Jenkins Date: Wed, 30 Oct 2024 15:17:44 -0600 Subject: [PATCH] helps if you sign the publications --- .github/workflows/deploy-to-maven.yml | 2 +- build.gradle.kts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-to-maven.yml b/.github/workflows/deploy-to-maven.yml index a27eda6..e4c1683 100644 --- a/.github/workflows/deploy-to-maven.yml +++ b/.github/workflows/deploy-to-maven.yml @@ -3,7 +3,7 @@ name: Create and publish a release to Maven Central on: workflow_dispatch: release: - types: [released] # Will trigger on (pre)released creation + types: [released] jobs: build-and-publish: diff --git a/build.gradle.kts b/build.gradle.kts index cc14025..1436050 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -46,8 +46,7 @@ subprojects { SonatypeHost.CENTRAL_PORTAL, automaticRelease = true ) - - + mavenPublishing.signAllPublications() } } tasks.withType().configureEach {