File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7575 - name : publish snapshot
7676 env :
7777 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
78- SIGN_KEY : ${{ secrets.SIGN_KEY }}
78+ SIGN_KEY : ${{ secrets.SIGN_KEY_ORG }}
7979 SIGN_PWD : ${{ secrets.SIGN_PWD }}
8080 PUBLISH_USER : ${{ secrets.PUBLISH_USER }}
8181 PUBLISH_KEY : ${{ secrets.PUBLISH_KEY }}
Original file line number Diff line number Diff line change 3030 env :
3131 PUBLISH_USER : ${{ secrets.PUBLISH_USER }}
3232 PUBLISH_KEY : ${{ secrets.PUBLISH_KEY }}
33- SIGN_KEY : ${{ secrets.SIGN_KEY }}
33+ SIGN_KEY : ${{ secrets.SIGN_KEY_ORG }}
3434 SIGN_PWD : ${{ secrets.SIGN_PWD }}
3535 run : |
3636 ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ configure(project.rootProject) {
33 publishUser = getBuildProperty (' PUBLISH_USER' )
44 publishKey = getBuildProperty (' PUBLISH_KEY' )
55
6- signKey = getBuildSignKey (' SIGN_KEY' )
6+ signKey = getBuildProperty (' SIGN_KEY' )
77 signPwd = getBuildProperty (' SIGN_PWD' )
88
99 isReleaseVersion = ! version. endsWith(" SNAPSHOT" )
@@ -85,8 +85,3 @@ nexusPublishing {
8585String getBuildProperty (String property ) {
8686 project. findProperty (property) ?: System . getenv (property) ?: ' n/a'
8787}
88-
89- String getBuildSignKey (String property ) {
90- project. findProperty (property) ?: System . getenv (property) ?
91- System . getenv (property). replace(" \\ n" , " \n " ): ' n/a'
92- }
You can’t perform that action at this time.
0 commit comments