Skip to content

Commit 98844a1

Browse files
committed
try dummy key
1 parent 152d9fb commit 98844a1

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,6 @@ jobs:
8080

8181
- name: Dry Run Release
8282
run: ./gradlew clean assembleBundle -info --stacktrace
83+
env:
84+
SIGNING_KEY: "dummy key for dry run"
85+
SIGNING_PASSWORD: "dummy pw for dry run"

build.gradle

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,10 @@ publishing {
9696
}
9797

9898
signing {
99-
useGpgCmd()
99+
useInMemoryPgpKeys(System.getenv('SIGNING_KEY'), System.getenv('SIGNING_PASSWORD'))
100100
sign publishing.publications.mavenJava
101101
}
102102

103-
ext['signing.gnupg.keyName'] = System.getenv('SIGNING_KEY_ID') ?: ''
104-
ext['signing.gnupg.passphrase'] = System.getenv('SIGNING_PASSWORD') ?: ''
105-
ext['signing.gnupg.options'] = ['--batch', '--yes', '--pinentry-mode', 'loopback']
106-
107103

108104
// Task to generate checksums for artifacts and their signatures
109105
tasks.register('generateChecksums') {

0 commit comments

Comments
 (0)