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 +36
-12
lines changed
Expand file tree Collapse file tree 3 files changed +36
-12
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,13 @@ jobs:
2929 **/target/*.md5
3030 **/target/*.sha1
3131
32- - name : 🚀 Deploy to releases
32+ - name : 🚀 Deploy to Releases
33333434 with :
3535 files : ' target/*.jar'
3636 repo-token : ${{ secrets.GITHUB_TOKEN }}
3737
38- - name : 🚀 Deploy to Maven
39- run : mvn -B -DskipTests deploy -Dregistry=https://maven.pkg.github.com/Ktt-Development -Dtoken=${{ secrets.GITHUB_TOKEN }}
38+ - name : 🚀 Deploy to GitHub Packages
39+ run : mvn -B -DskipTests deploy -s settings.xml
40+ env :
41+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1818 <tag >HEAD</tag >
1919 </scm >
2020
21-
22- <distributionManagement >
23- <repository >
24- <id >github</id >
25- <name >GitHub Ktt-Development Apache Maven Packages</name >
26- <url >https://maven.pkg.github.com/Ktt-Development/${project.artifactId} </url >
27- </repository >
28- </distributionManagement >
29-
3021 <properties >
3122 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
3223 </properties >
Original file line number Diff line number Diff line change 1+ <settings xmlns =" http://maven.apache.org/SETTINGS/1.0.0"
2+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : schemaLocation =" http://maven.apache.org/SETTINGS/1.0.0
4+ http://maven.apache.org/xsd/settings-1.0.0.xsd" >
5+
6+ <activeProfiles >
7+ <activeProfile >github</activeProfile >
8+ </activeProfiles >
9+
10+ <profiles >
11+ <profile >
12+ <id >github</id >
13+ <repositories >
14+ <repository >
15+ <id >github</id >
16+ <name >GitHub Ktt-Development Apache Maven Packages</name >
17+ <url >https://maven.pkg.github.com/Ktt-Development/simplehttpserver</url >
18+ </repository >
19+ </repositories >
20+ </profile >
21+ </profiles >
22+
23+ <servers >
24+ <server >
25+ <id >github</id >
26+ <username >Katsute</username >
27+ <password >${env.GITHUB_TOKEN}</password >
28+ </server >
29+ </servers >
30+
31+ </settings >
You can’t perform that action at this time.
0 commit comments