Skip to content

Commit

Permalink
Update pr workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alorma committed Feb 29, 2024
1 parent a525dea commit a7ec63b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@ jobs:
~/.gradle/wrapper
key: ${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/buildSrc/**/*.kt') }}

# Runs upload, and then closes & releases the repository
- name: Sign release
run: ./gradlew signReleasePublication
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
GPG_KEY_NAME: ${{ secrets.GPG_KEY_NAME }}
GPG_KEY_CONTENTS: ${{ secrets.GPG_KEY_CONTENTS }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
SIGNING_SECRET_KEY_RING_FILE: ${{ secrets.SIGNING_SECRET_KEY_RING_FILE }}
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}

build:
name: Build - PR
needs: [ check-sign ]
Expand Down

0 comments on commit a7ec63b

Please sign in to comment.