diff --git a/.github/workflows/publishing2sonatype.yml b/.github/workflows/publishing2sonatype.yml index 7afd684..c36a5d7 100644 --- a/.github/workflows/publishing2sonatype.yml +++ b/.github/workflows/publishing2sonatype.yml @@ -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