Skip to content

Commit

Permalink
remove extra signing step
Browse files Browse the repository at this point in the history
  • Loading branch information
sboeckelmann authored Dec 23, 2023
1 parent 81ce607 commit 40868e5
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit 40868e5

Please sign in to comment.