Skip to content

Commit

Permalink
gpg key creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Rebecca Franks committed Nov 11, 2021
1 parent a82a543 commit 5056b4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Configure GPG Key
run: |
mkdir ~/.gpgkey
echo "${{secrets.GPG_KEY}}" > ~/.gpgkey/secring.gpg.b64
echo $GPG_KEY > ~/.gpgkey/secring.gpg.b64
base64 -d ~/.gpgkey/secring.gpg.b64 > ~/.gpgkey/secring.gpg
env:
GPG_KEY: ${{ secrets.GPG_KEY }}
Expand All @@ -29,4 +29,4 @@ jobs:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
run: |
./gradlew publishAllPublicationsToMavenRepository --no-parallel --no-daemon -Psigning.keyId=${{secrets.GPG_KEY_ID}} -Psigning.password=${{ secrets.GPG_KEY_PASSWORD }} -Psigning.secretKeyRingFile=$(echo ~/.gpgkey/secring.gpg)
./gradlew publishAllPublicationsToMavenRepository --no-parallel --no-daemon -Psigning.keyId=${{secrets.GPG_KEY_ID}} -Psigning.password=${{secrets.GPG_KEY_PASSWORD}} -Psigning.secretKeyRingFile=$(echo ~/.gpgkey/secring.gpg)

0 comments on commit 5056b4c

Please sign in to comment.