File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -33,19 +33,13 @@ jobs:
3333
3434 - name : Setup GPG key information
3535 run : |
36- mkdir -p ~/.gradle ~/.gnupg
37- echo "signing.gnupg.homeDir=/home/runner/.gnupg" >> ~/.gradle/gradle.properties
38- echo "signing.gnupg.executable=gpg" >> ~/.gradle/gradle.properties
39- echo "signing.gnupg.keyName=ABC48776" >> ~/.gradle/gradle.properties
36+ mkdir -p ~/.gradle
4037 echo "signing.gnupg.passphrase=${GPG_SIGNING_KEY_PW}" >> ~/.gradle/gradle.properties
4138 env :
4239 GPG_SIGNING_KEY_PW : ${{ secrets.GPG_PASSPHRASE }}
4340
4441 - name : Build package
4542 run : ./gradlew clean build
46- env :
47- GPG_SIGNING_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
48- GPG_SIGNING_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
4943
5044 - name : Publish package
5145 run : ./gradlew publishToSonatype closeSonatypeStagingRepository
Original file line number Diff line number Diff line change 44org.gradle.configuration-cache =false
55org.gradle.parallel =true
66org.gradle.caching =true
7-
8- signing.gnupg.executable =/usr/local/bin/gpg
9- signing.gnupg.homeDir =/Users/ralph/.gnupg
10- signing.gnupg.keyName =ABC48776
11- signing.gnupg.passphrase =
You can’t perform that action at this time.
0 commit comments