Skip to content

Commit dad9dfb

Browse files
committed
chore(ci): move to maven releases repo
1 parent 1b7dc75 commit dad9dfb

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626

2727
- name: Build & Publish to Maven
2828
env:
29-
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
30-
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
29+
MAVEN_RELEASE_USERNAME: ${{ secrets.MAVEN_RELEASE_USERNAME }}
30+
MAVEN_RELEASE_PASSWORD: ${{ secrets.MAVEN_RELEASE_PASSWORD }}
3131
run: |
3232
chmod +x ./gradlew
3333
CI=true ./gradlew :publishToMavenLocal :publish --stacktrace
@@ -36,4 +36,4 @@ jobs:
3636
uses: actions/upload-artifact@v4
3737
with:
3838
name: artifacts
39-
path: ~/.m2/repository/
39+
path: ~/.m2/repository/

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ made to be usable on Android devices directly as a lightweight library.
77
`build.gradle.kts`:
88
```kt
99
respositories {
10-
maven("https://maven.aliucord.com/snapshots")
10+
maven("https://maven.aliucord.com/releases")
1111
}
1212
dependencies {
1313
implementation("com.aliucord:binary-resources:2.0.1")
1414
}
15-
```
15+
```

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,16 @@ afterEvaluate {
5252
}
5353

5454
repositories {
55-
val username = System.getenv("MAVEN_USERNAME")
56-
val password = System.getenv("MAVEN_PASSWORD")
55+
val username = System.getenv("MAVEN_RELEASE_USERNAME")
56+
val password = System.getenv("MAVEN_RELEASE_PASSWORD")
5757

5858
if (username != null && password != null) {
5959
maven {
6060
credentials {
6161
this.username = username
6262
this.password = password
6363
}
64-
setUrl("https://maven.aliucord.com/snapshots")
64+
setUrl("https://maven.aliucord.com/releases")
6565
}
6666
} else {
6767
mavenLocal()

0 commit comments

Comments
 (0)