File tree Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Original file line number Diff line number Diff line change 4343 if : ${{ inputs.env == 'production' }}
4444 run : ./gradlew publish --info --stacktrace
4545 env :
46- ORG_GRADLE_PROJECT_signingKey : ${{ secrets.GPG_KEY }}
47- ORG_GRADLE_PROJECT_signingPassword : ${{ secrets.GPG_PASSWORD }}
48- ORG_GRADLE_PROJECT_signingKeyId : ${{ secrets.GPG_KEYID }}
4946 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5047 GITHUB_ACTOR : ${{ github.actor }}
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ publishing {
3434 publications {
3535 create<MavenPublication >(" mavenJava" ) {
3636 artifactId = " qko"
37+
3738 from(components[" java" ])
3839
3940 versionMapping {
@@ -93,20 +94,11 @@ publishing {
9394 }
9495 }*/
9596 }
96-
97- publications {
98- register<MavenPublication >(" gpr" ) {
99- from(components[" java" ])
100- }
101- }
10297}
10398
10499
105100signing {
106- val signingKeyId: String? by project
107- val signingKey: String? by project
108- val signingPassword: String? by project
109- useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
101+ useGpgCmd()
110102 sign(publishing.publications[" mavenJava" ])
111103}
112104
@@ -115,4 +107,4 @@ tasks.javadoc {
115107 if (JavaVersion .current().isJava9Compatible) {
116108 (options as StandardJavadocDocletOptions ).addBooleanOption(" html5" , true )
117109 }
118- }
110+ }
You can’t perform that action at this time.
0 commit comments