File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 32
32
distribution : ' temurin'
33
33
java-version : ' 17'
34
34
35
+ - name : Restore gradle.properties
36
+ shell : bash
37
+ run : |
38
+ mkdir -p ~/.gradle/
39
+ echo "GRADLE_USER_HOME=${HOME}/.gradle" >> $GITHUB_ENV
40
+
35
41
- name : Setup Gradle
36
42
uses : gradle/actions/setup-gradle@v4
37
43
Original file line number Diff line number Diff line change @@ -243,8 +243,12 @@ jreleaser {
243
243
signing {
244
244
active.set(org.jreleaser.model.Active .ALWAYS )
245
245
armored.set(true )
246
- publicKey.set(String (Base64 .getDecoder().decode(findProperty(" W3W_GPG_PUBLIC_KEY" )?.toString())))
247
- secretKey.set(String (Base64 .getDecoder().decode(findProperty(" W3W_GPG_SECRET_KEY" )?.toString())))
246
+ publicKey.set(
247
+ findProperty(" W3W_GPG_PUBLIC_KEY" )?.toString()
248
+ ?.let { String (Base64 .getDecoder().decode(it)) } ? : " " )
249
+ secretKey.set(
250
+ findProperty(" W3W_GPG_SECRET_KEY" )?.toString()
251
+ ?.let { String (Base64 .getDecoder().decode(it)) } ? : " " )
248
252
passphrase.set(findProperty(" W3W_GPG_PASSPHRASE" )?.toString())
249
253
}
250
254
deploy {
@@ -265,4 +269,4 @@ jreleaser {
265
269
}
266
270
// endregion
267
271
268
- // endregion
272
+ // endregion
You can’t perform that action at this time.
0 commit comments