This repository was archived by the owner on Jul 31, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +15
-12
lines changed
Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ jobs:
1616 version : ' 11'
1717 architecture : x64
1818
19- - name : 🚀 Deploy to GitHub Packages
20- run : mvn -B -s settings.xml -f pom.xml deploy
19+ - name : 🚀 Deploy to Maven Central
20+ run : mvn -B deploy
2121 env :
22- GITHUB_USERNAME : Katsute
23- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22+ MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
23+ MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN }}
2424
2525 - name : 🚀 Deploy to Releases
2626
Original file line number Diff line number Diff line change 66
77 <groupId >com.kttdevelopment</groupId >
88 <artifactId >simplehttpserver</artifactId >
9- <version >03.06.04 </version >
9+ <version >03.06.05 </version >
1010
1111 <url >https://github.com/Ktt-Development/simplehttpserver</url >
1212
1616 <
developerConnection >scm:git:
[email protected] :Ktt-Development/simplehttpserver.git</
developerConnection >
1717 <tag >HEAD</tag >
1818 </scm >
19-
19+
2020 <distributionManagement >
21+ <snapshotRepository >
22+ <id >ossrh</id >
23+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
24+ </snapshotRepository >
2125 <repository >
22- <id >github</id >
23- <name >GitHub Apache Maven Packages</name >
24- <url >https://maven.pkg.github.com/Ktt-Development/${project.artifactId} </url >
26+ <id >ossrh</id >
27+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
2528 </repository >
2629 </distributionManagement >
2730
Original file line number Diff line number Diff line change 55
66 <servers >
77 <server >
8- <id >github </id >
9- <username >${env.GITHUB_USERNAME }</username >
10- <password >${env.GITHUB_TOKEN }</password >
8+ <id >ossrh </id >
9+ <username >${env.MAVEN_USERNAME }</username >
10+ <password >${env.MAVEN_PASSWORD }</password >
1111 </server >
1212 </servers >
1313
You can’t perform that action at this time.
0 commit comments