Skip to content

Commit

Permalink
debug commit
Browse files Browse the repository at this point in the history
  • Loading branch information
anurag4DSB committed Jul 19, 2024
1 parent 9fd90dc commit ec19a03
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/gradle-build-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,17 @@ jobs:
# - name: Get archive upload signing key
# run: echo "$SIGNING_KEY" | base64 --decode > $GITHUB_WORKSPACE/secring.gpg

# Decode and import the GPG key
# Configure GPG to use non-interactive pinentry mode and import the GPG key
- name: Import GPG key
run: |
echo "$SIGNING_KEY" > gpg-secret-key.asc
gpg --import gpg-secret-key.asc
gpg --batch --import gpg-secret-key.asc
echo "pinentry-mode loopback" >> ~/.gnupg/gpg.conf
# 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 }}
run: ./gradlew publishSonatypePublicationToNexusSnapshotsRepository -PsonatypeUsername=$NEXUS_UNAME -PsonatypePassword=$NEXUS_PWD -Psigning.keyId=$SIGNING_KEYID -Psigning.password=$SIGNING_PWD
Expand Down

0 comments on commit ec19a03

Please sign in to comment.