File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 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
3636 uses : actions/upload-artifact@v4
3737 with :
3838 name : artifacts
39- path : ~/.m2/repository/
39+ path : ~/.m2/repository/
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ made to be usable on Android devices directly as a lightweight library.
77` build.gradle.kts ` :
88``` kt
99respositories {
10- maven(" https://maven.aliucord.com/snapshots " )
10+ maven(" https://maven.aliucord.com/releases " )
1111}
1212dependencies {
1313 implementation(" com.aliucord:binary-resources:2.0.1" )
1414}
15- ```
15+ ```
Original file line number Diff line number Diff 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()
You can’t perform that action at this time.
0 commit comments