Skip to content

Commit

Permalink
add: workflow for publishing to maven central
Browse files Browse the repository at this point in the history
  • Loading branch information
devi-krishna-kv committed Jun 14, 2024
1 parent 9fd68fd commit 0fdadbd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0

- name: Set up GPG
uses: olafurpg/setup-gpg@v3

# Step to grant execute permissions to the Gradle wrapper script
- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand All @@ -47,6 +50,9 @@ jobs:
- name: Add signing password to gradle.proeprties
run: echo "signing.password=${{ secrets.OSS_SIGNING_PASSWORD }}" >> gradle.properties

- name: create secring.gpg file
run: gpg --export-secret-keys -o secring.gpg

- name: Decode and set up GPG secring file
env:
GPG_SECRET_RING: ${{ secrets.SECRET_FILE_CONTENT }}
Expand Down

0 comments on commit 0fdadbd

Please sign in to comment.