This repository was archived by the owner on Jun 4, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 2121 java-version : 11
2222
2323 - name : 🚀 Deploy to GitHub Packages
24- run : mvn deploy -B -Dmaven.test.skip=true
24+ run : mvn deploy -B -Dmaven.test.skip=true -P github
2525 env :
2626 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2727
4444 gpg-passphrase : MAVEN_GPG_PASSPHRASE
4545
4646 - name : 🚀 Deploy to Maven Central
47- run : mvn deploy -B -Dmaven.test.skip=true -P deploy
47+ run : mvn deploy -B -Dmaven.test.skip=true -P ossrh
4848 env :
4949 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
5050 MAVEN_CENTRAL_TOKEN : ${{ secrets.OSSRH_TOKEN }}
Original file line number Diff line number Diff line change 1010
1111 <profiles >
1212 <profile >
13- <id >deploy </id >
13+ <id >ossrh </id >
1414
1515 <distributionManagement >
1616 <snapshotRepository >
6060 </plugins >
6161 </build >
6262 </profile >
63+ <profile >
64+ <id >github</id >
65+
66+ <distributionManagement >
67+ <repository >
68+ <id >github</id >
69+ <url >https://maven.pkg.github.com/katsutedev/jcore</url >
70+ </repository >
71+ </distributionManagement >
72+ </profile >
6373 </profiles >
6474
6575 <properties >
You can’t perform that action at this time.
0 commit comments