From 8be84e84095c78bae95eb9bdb646870e909735c1 Mon Sep 17 00:00:00 2001 From: Luke Bemish Date: Sat, 18 Nov 2023 03:21:26 +0000 Subject: [PATCH] Stop signing for snapshot repository --- .github/workflows/snapshot.yml | 2 -- buildSrc/src/main/groovy/opensesame.conventions.gradle | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 9a6fe87..0af2fac 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -29,8 +29,6 @@ jobs: env: MAVEN_USER: github MAVEN_PASSWORD: ${{ secrets.SNAPSHOT_MAVEN_PASSWORD }} - SIGNING_KEY: ${{ secrets.SIGNING_KEY }} - SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} SNAPSHOT_MAVEN_URL: https://maven.lukebemish.dev/snapshots/ - name: Test run: | diff --git a/buildSrc/src/main/groovy/opensesame.conventions.gradle b/buildSrc/src/main/groovy/opensesame.conventions.gradle index fc8fa49..430585b 100644 --- a/buildSrc/src/main/groovy/opensesame.conventions.gradle +++ b/buildSrc/src/main/groovy/opensesame.conventions.gradle @@ -88,7 +88,7 @@ publishing { } } -if (System.getenv('IS_RELEASE') || System.getenv('SNAPSHOT_MAVEN_URL')) { +if (System.getenv('IS_RELEASE')) { signing { final signingKey = System.getenv('SIGNING_KEY') ?: '' final signingPassword = System.getenv('SIGNING_PASSWORD') ?: ''