File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2121 - name : Set Release Version as an environment variable
2222 run : echo "PUBLISH_VERSION=$(echo ${{ github.event.release.tag_name }})" >> $GITHUB_ENV
2323 - name : Publish package
24- uses : gradle/gradle-build-action@v3
24+ uses : gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1
2525 with :
2626 arguments : -Pversion=${{ env.PUBLISH_VERSION }} publishToSonatype closeAndReleaseSonatypeStagingRepository
2727 env :
Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ publishing {
5151 repositories {
5252 maven {
5353 credentials(PasswordCredentials ::class )
54- name =
55- " sonatype " // correlates with the environment variable set in the github action release.yml publish job
54+ name = " sonatype " // correlates with the environment variable set in the github action release.yml publish job
55+
5656 val releasesRepoUrl = " https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
5757 val snapshotsRepoUrl = " https://s01.oss.sonatype.org/content/repositories/snapshots/"
5858 setUrl(if (version.toString().endsWith(" SNAPSHOT" )) snapshotsRepoUrl else releasesRepoUrl)
You can’t perform that action at this time.
0 commit comments