Skip to content

Commit 5b22110

Browse files
Nexus to Repo
1 parent a521cd5 commit 5b22110

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ KPaper is a powerful utility library designed to simplify plugin development wit
3737
```kotlin
3838
repositories {
3939
mavenCentral()
40-
maven("https://nexus.modlabs.cc/repository/maven-mirrors/")
40+
maven("https://repo-api.modlabs.cc/repo/maven/maven-mirror/")
4141
}
4242

4343
dependencies {

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)