Skip to content

Commit

Permalink
add gradle props file
Browse files Browse the repository at this point in the history
  • Loading branch information
ssalamakha-sift committed Jun 9, 2023
1 parent 58cce9c commit 88ac28b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publishing2sonatype.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,16 @@ jobs:
distribution: 'zulu'
- name: Prepare gradle.properties
run: |
echo -e "${{ secrets.SECRING }}" | base64 -d > ./secring.gpg
echo "$(pwd)"
echo -e "${{ secrets.SECRING }}" | base64 -d > ./secring.gpg
echo "$(ls -la)"
touch ./gradle.properties
echo "signing.keyId=${{ secrets.KEYID }}" >> ./gradle.properties
echo "signing.password=${{ secrets.PASS }}" >> ./gradle.properties
echo "signing.secretKeyRingFile=$(pwd)/secring.gpg" >> ./gradle.properties
echo "sonatypeUsername=${{ secrets.SUSER }}" >> ./gradle.properties
echo "sonatypePassword=${{ secrets.SPASSWORD }}" >> ./gradle.properties
echo "$(ls -la)"
- name: Prepare build.gradle
run: |
sed -i -e 's|.*sonatypeUsername.*| username = "${{ secrets.SUSER }}"|' ./build.gradle
Expand Down

0 comments on commit 88ac28b

Please sign in to comment.