File tree 2 files changed +1
-12
lines changed
2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -33,19 +33,13 @@ jobs:
33
33
34
34
- name : Setup GPG key information
35
35
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
40
37
echo "signing.gnupg.passphrase=${GPG_SIGNING_KEY_PW}" >> ~/.gradle/gradle.properties
41
38
env :
42
39
GPG_SIGNING_KEY_PW : ${{ secrets.GPG_PASSPHRASE }}
43
40
44
41
- name : Build package
45
42
run : ./gradlew clean build
46
- env :
47
- GPG_SIGNING_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
48
- GPG_SIGNING_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
49
43
50
44
- name : Publish package
51
45
run : ./gradlew publishToSonatype closeSonatypeStagingRepository
Original file line number Diff line number Diff line change 4
4
org.gradle.configuration-cache =false
5
5
org.gradle.parallel =true
6
6
org.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