Skip to content

Commit

Permalink
Update release workflow to not use gradle-build-action
Browse files Browse the repository at this point in the history
  • Loading branch information
puneetbehl committed Nov 23, 2021
1 parent bb1d5a7 commit 4fb9aec
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,14 @@ jobs:
SECRING_FILE: ${{ secrets.SECRING_FILE }}
run: echo $SECRING_FILE | base64 -d > ${{ github.workspace }}/secring.gpg
- name: Publish to Sonatyoe OSSRH
uses: gradle/gradle-build-action@v2
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }}
with:
arguments: publishToSonatype closeAndReleaseSonatypeStagingRepository -Psigning.secretKeyRingFile="${{ github.workspace }}/secring.gpg"
run: |
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -Psigning.secretKeyRingFile="${GITHUB_WORKSPACE}/secring.gpg"
- name: Publish Documentation
uses: gradle/gradle-build-action@v2
with:
Expand Down

0 comments on commit 4fb9aec

Please sign in to comment.