Skip to content
This repository was archived by the owner on Jul 31, 2022. It is now read-only.

Commit 208ce88

Browse files
committed
is github packages even a real thing
1 parent 397fa37 commit 208ce88

File tree

3 files changed

+10
-34
lines changed

3 files changed

+10
-34
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,4 @@ jobs:
3636
repo-token: ${{ secrets.GITHUB_TOKEN }}
3737

3838
- name: 🚀 Deploy to GitHub Packages
39-
run: mvn -B -DskipTests deploy -s settings.xml
40-
env:
41-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
run: mvn -B -DskipTests deploy -Dregistry=https://maven.pkg.github.com/Ktt-Development -Dtoken=${{ secrets.GITHUB_TOKEN }}

pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@
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+
2130
<properties>
2231
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2332
</properties>

settings.xml

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)