Skip to content

Commit 071db92

Browse files
committed
Deploy to gh packages
1 parent 3133189 commit 071db92

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ jobs:
1818
cache: maven
1919
- name: Build
2020
run: mvn clean install
21+
- name: Deploy
22+
run: mvn --batch-mode deploy
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2125
- name: Retrieve API version
2226
run: 'echo "::set-output name=version::$(mvn -f pom.xml help:evaluate -Dexpression=project.version -q -DforceStdout)"'
2327
id: retrieveApiVersion

pom.xml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>net.azisaba</groupId>
44
<artifactId>LunaChatPlus</artifactId>
5-
<version>3.2.0</version>
5+
<version>3.2.1</version>
66
<description>A powerfull chat channel plugin with IME (Kana-Kanji conversion) support</description>
77
<url>https://github.com/ucchyocean/LunaChat</url>
88

@@ -20,14 +20,6 @@
2020
<java.version.short>8</java.version.short>
2121
</properties>
2222

23-
<distributionManagement>
24-
<repository>
25-
<id>internal.repo</id>
26-
<name>Temporary Staging Repository</name>
27-
<url>file://${project.basedir}/../mvn-repo</url>
28-
</repository>
29-
</distributionManagement>
30-
3123
<build>
3224
<finalName>${project.artifactId}</finalName>
3325
<defaultGoal>clean javadoc:jar source:jar deploy</defaultGoal>
@@ -291,4 +283,11 @@
291283
<scope>test</scope>
292284
</dependency>
293285
</dependencies>
286+
<distributionManagement>
287+
<repository>
288+
<id>github</id>
289+
<name>GitHub Packages</name>
290+
<url>https://maven.pkg.github.com/AzisabaNetwork/LunaChatPlus</url>
291+
</repository>
292+
</distributionManagement>
294293
</project>

0 commit comments

Comments
 (0)