File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Publish Release
22on :
33 push :
44 tags :
5- - ' v4 **'
5+ - ' v **'
66
77concurrency :
88 cancel-in-progress : true
6565 gradle-version : ${{ env.GRADLE_VERSION }}
6666
6767 - name : Publish releases
68- run : gradle publishAndReleaseToMavenCentral -i --warning-mode all --no-configuration-cache -x test
68+ run : gradle publishToMavenCentral -i --warning-mode all --no-configuration-cache -x test
6969 env :
7070 SIMBOT_IS_SNAPSHOT : false
7171 SIMBOT_RELEASES_ONLY : true
Original file line number Diff line number Diff line change 8282 gradle-version : ${{ env.GRADLE_VERSION }}
8383
8484 - name : Publish snapshots
85- run : gradle publishAllPublicationsToMavenCentralRepository -s --warning-mode all --no-configuration-cache
85+ run : gradle publishToMavenCentral -s --warning-mode all --no-configuration-cache
8686 env :
8787 SIMBOT_IS_SNAPSHOT : true
8888 ORG_GRADLE_PROJECT_org.gradle.jvmargs : " -Xmx8g -Xms2g -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8"
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ setup(P.ComponentOneBot)
3131val p = project
3232
3333mavenPublishing {
34- publishToMavenCentral()
34+ publishToMavenCentral(automaticRelease = true )
3535 if (! isSimbotLocal()) {
3636 signAllPublications()
3737 }
You can’t perform that action at this time.
0 commit comments