File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,12 @@ jobs:
1616 with :
1717 java-version : 8
1818 - name : Release to Sonatype
19- run : ./gradlew -Prelease.version=${GITHUB_REF:11} publish
19+ run : ./gradlew -Prelease.version=${GITHUB_REF:11} publish closeAndReleaseRepository
2020 env :
2121 ORG_GRADLE_PROJECT_nexusUsername : ${{ secrets.NEXUS_USERNAME }}
2222 ORG_GRADLE_PROJECT_nexusPassword : ${{ secrets.NEXUS_PASSWORD }}
23+ ORG_GRADLE_PROJECT_signingKey : ${{ secrets.SIGNING_KEY }}
24+ ORG_GRADLE_PROJECT_signingPassword : ${{ secrets.SIGNING_PASSWORD }}
2325 - name : Publish site
2426 run : ./gradlew :site:orchidDeploy -Prelease.useLastTag=true -Penv=prod
2527 env :
Original file line number Diff line number Diff line change @@ -48,6 +48,9 @@ publishing {
4848}
4949
5050signing {
51+ val signingKey: String? by project
52+ val signingPassword: String? by project
53+ useInMemoryPgpKeys(signingKey, signingPassword)
5154 sign(publishing.publications[" nebula" ])
5255}
5356
You can’t perform that action at this time.
0 commit comments