File tree Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -142,10 +142,14 @@ jobs:
142142 run : chmod +x gradlew
143143 - name : Publish Packages to Artifactory
144144 if : ${{ matrix.jdk == '1.8' }}
145- run : ./gradlew -PversionSuffix="-SNAPSHOT" -PbuildNumber="${buildNumber}" publishMavenPublicationToGitHubPackagesRepository --no-daemon --stacktrace
145+ run : ./gradlew -PversionSuffix="-SNAPSHOT" -PbuildNumber="${buildNumber}" publishMavenPublicationToSonatypeRepository --no-daemon --stacktrace
146146 env :
147147 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
148148 buildNumber : ${{ github.run_number }}
149+ ORG_GRADLE_PROJECT_signingKey : ${{secrets.signingKey}}
150+ ORG_GRADLE_PROJECT_signingPassword : ${{secrets.signingPassword}}
151+ ORG_GRADLE_PROJECT_sonatypeUsername : ${{secrets.sonatypeUsername}}
152+ ORG_GRADLE_PROJECT_sonatypePassword : ${{secrets.sonatypePassword}}
149153 - name : Aggregate test reports with ciMate
150154 if : always()
151155 continue-on-error : true
Original file line number Diff line number Diff line change @@ -21,16 +21,6 @@ subprojects {
2121 }
2222 }
2323 developers {
24- developer {
25- id = ' rdegnan'
26- name = ' Ryland Degnan'
27- email = ' ryland@netifi.com'
28- }
29- developer {
30- id = ' yschimke'
31- name = ' Yuri Schimke'
32- email = ' yuri@schimke.ee'
33- }
3424 developer {
3525 id = ' OlegDokuka'
3626 name = ' Oleh Dokuka'
Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ subprojects {
2020 repositories {
2121 maven {
2222 name = " sonatype"
23- url = " https://oss.sonatype.org/service/local/staging/deploy/maven2"
23+ url = project. version. contains(" -SNAPSHOT" )
24+ ? " https://oss.sonatype.org/content/repositories/snapshots/"
25+ : " https://oss.sonatype.org/service/local/staging/deploy/maven2"
2426 credentials {
2527 username project. findProperty(" sonatypeUsername" )
2628 password project. findProperty(" sonatypePassword" )
You can’t perform that action at this time.
0 commit comments