Skip to content

Commit

Permalink
debug commit to check key
Browse files Browse the repository at this point in the history
  • Loading branch information
anurag4DSB committed Jul 19, 2024
1 parent 682ecc3 commit 51a3c8e
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/gradle-build-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,18 @@ jobs:
- name: Execute build with Gradle wrapper
run: ./gradlew build -PsonatypeUsername=$NEXUS_UNAME -PsonatypePassword=$NEXUS_PWD

- name: Get archive upload signing key
run: echo "$SIGNING_KEY" | base64 --decode > $GITHUB_WORKSPACE/secring.gpg
# - name: Get archive upload signing key
# run: echo "$SIGNING_KEY" | base64 --decode > $GITHUB_WORKSPACE/secring.gpg

# Decode and import the GPG key
- name: Import GPG key
run: |
echo "$SIGNING_KEY" > gpg-secret-key.asc
gpg --import gpg-secret-key.asc
# Verify GPG key import (optional)
- name: Verify GPG key import
run: gpg --list-secret-keys

- name: Gradle Upload Archives to Snapshot Repository
if: ${{ !inputs.release }}
Expand Down

0 comments on commit 51a3c8e

Please sign in to comment.