File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3333 run : ./gradlew publish
3434 env :
3535 NEXUS_USER : ${{ secrets.NEXUS_USER }}
36- NEXUS_PASS : ${{ secrets.NEXUS_PASS }}
36+ REPO_TOKEN : ${{ secrets.REPO_TOKEN }}
3737 VERSION_OVERRIDE : ${{ env.VERSION }}
3838
3939 - name : Create GitHub Release
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ KPaper is a powerful utility library designed to simplify plugin development wit
3737``` kotlin
3838repositories {
3939 mavenCentral()
40- maven(" https://nexus .modlabs.cc/repository /maven-mirrors /" )
40+ maven(" https://repo-api .modlabs.cc/repo /maven/maven-mirror /" )
4141}
4242
4343dependencies {
Original file line number Diff line number Diff line change @@ -75,10 +75,10 @@ publishing {
7575 repositories {
7676 maven {
7777 name = " ModLabs"
78- url = uri(" https://nexus .modlabs.cc/repository /maven-public/" )
78+ url = uri(" https://repo-api .modlabs.cc/repo/maven /maven-public/" )
7979 credentials {
80- username = System .getenv(" NEXUS_USER" )
81- password = System .getenv(" NEXUS_PASS " )
80+ username = System .getenv(" NEXUS_USER" ) ? : " modlabs "
81+ password = System .getenv(" REPO_TOKEN " )
8282 }
8383 }
8484 mavenLocal()
You can’t perform that action at this time.
0 commit comments