From 40868e5367f0afd178e34390c432c600eb173423 Mon Sep 17 00:00:00 2001 From: sboeckelmann Date: Sat, 23 Dec 2023 02:19:44 +0100 Subject: [PATCH] remove extra signing step --- .github/workflows/ci-cd.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 252d035..cd823e3 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -35,16 +35,9 @@ jobs: - name: Build with Gradle run: ./gradlew build - - name: Sign from the main branch - if: github.ref == 'refs/heads/main' - run: ./gradlew sign -PsigningKey='${{ secrets.GPG_PRIVATE_KEY }}' -PsigningPassword='${{secrets.GPG_PRIVATE_KEY_PASSPHRASE}}' -PossrhUsername='${{ secrets.SONATYPE_NEXUS_USERNAME }}' -PossrhPassword='${{ secrets.SONATYPE_NEXUS_PASSWORD }}' - env: - ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_PRIVATE_KEY }}' - ORG_GRADLE_PROJECT_signingPassword: ${{secrets.GPG_PRIVATE_KEY_PASSPHRASE}} - - name: Deploy from the main branch if: github.ref == 'refs/heads/main' - run: ./gradlew publish -PsigningKey='${{ secrets.GPG_PRIVATE_KEY }}' -PsigningPassword='${{secrets.GPG_PRIVATE_KEY_PASSPHRASE}}' -PossrhUsername='${{ secrets.SONATYPE_NEXUS_USERNAME }}' -PossrhPassword='${{ secrets.SONATYPE_NEXUS_PASSWORD }}' + run: ./gradlew publish -PossrhUsername='${{ secrets.SONATYPE_NEXUS_USERNAME }}' -PossrhPassword='${{ secrets.SONATYPE_NEXUS_PASSWORD }}' env: ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_PRIVATE_KEY }}' ORG_GRADLE_PROJECT_signingPassword: ${{secrets.GPG_PRIVATE_KEY_PASSPHRASE}}