File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
convention-plugins/src/main/kotlin/com/addhen/gradle/convention Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change 69
69
- name : Upload Snapshot
70
70
uses : gradle/actions/setup-gradle@v3
71
71
if : success() && endsWith(env.VERSION_NAME, '-SNAPSHOT')
72
- env :
73
- OSSRH_GPG_SECRET_KEY_PASSWORD : ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
74
- OSSRH_GPG_SECRET_KEY_ID : ${{ secrets.OSSRH_GPG_SECRET_KEY_ID }}
75
- OSSRH_GPG_SECRET_KEY : ${{ secrets.OSSRH_GPG_SECRET_KEY }}
76
72
with :
77
73
arguments : |
78
74
--no-configuration-cache
Original file line number Diff line number Diff line change @@ -55,11 +55,7 @@ fun Project.configureMavenPublish() {
55
55
56
56
signing {
57
57
if (project.hasProperty(" signing.gnupg.keyName" )) {
58
- useInMemoryPgpKeys(
59
- System .getenv(" OSSRH_GPG_SECRET_KEY_ID" ),
60
- System .getenv(" OSSRH_GPG_SECRET_KEY" ),
61
- System .getenv(" OSSRH_GPG_SECRET_KEY_PASSWORD" ),
62
- )
58
+ useGpgCmd()
63
59
sign(publishing.publications)
64
60
}
65
61
}
You can’t perform that action at this time.
0 commit comments