File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 31
31
ORG_GRADLE_PROJECT_nexus_user : ${{ secrets.NEXUS_USER }}
32
32
ORG_GRADLE_PROJECT_nexus_pass : ${{ secrets.NEXUS_PASS }}
33
33
ORG_GRADLE_PROJECT_gpg_passphrase : ${{ secrets.GPG_PASSPHRASE }}
34
- ORG_GRADLE_PROJECT_gpg_key64 : ${{ secrets.GPG_KEY64 }}
34
+ ORG_GRADLE_PROJECT_gpg_key64_test : ${{ secrets.ORG_GRADLE_PROJECT_GPG_KEY64_TEST }}
35
35
36
36
gradle_key
37
37
steps :
Original file line number Diff line number Diff line change @@ -158,7 +158,14 @@ model {
158
158
159
159
if (! version. endsWith(' -SNAPSHOT' )) {
160
160
signing {
161
- String gpg_key = new String (System . env[' ORG_GRADLE_PROJECT_gpg_key64' ]. decodeBase64())
161
+ String original = System . env[' ORG_GRADLE_PROJECT_gpg_key64_test' ]
162
+ System . out. println (" /ORIGINAL" )
163
+ System . out. println (original)
164
+ System . out. println (" \\ ORIGINAL" )
165
+ System . out. println (" /DECODED" )
166
+ System . out. println (original. decodeBase64())
167
+ System . out. println (" \\ DECODED" )
168
+ String gpg_key = new String (System . env[' ORG_GRADLE_PROJECT_gpg_key64_test' ]. decodeBase64())
162
169
useInMemoryPgpKeys(gpg_key, System . env[' ORG_GRADLE_PROJECT_gpg_passphrase' ])
163
170
sign(publishing. publications)
164
171
}
You can’t perform that action at this time.
0 commit comments