1
mirror of https://github.com/CarmJos/UserPrefix.git synced 2024-09-19 20:15:47 +00:00

2.1.6 补充介绍,优化部署密钥配置。

This commit is contained in:
carm 2021-10-21 21:46:01 +08:00
parent dd96c6d6da
commit 83b9ced6f5
4 changed files with 19 additions and 17 deletions

View File

@ -29,5 +29,5 @@ jobs:
- name: "Deploy"
run: mvn -B deploy --file pom.xml
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_USERNAME: ${{ github.repository_owner }}
MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}}

View File

@ -27,7 +27,7 @@ jobs:
- name: "Package"
run: mvn -B package --file pom.xml
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_USERNAME: ${{ github.repository_owner }}
MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: "Target Stage"
run: mkdir staging && cp target/*.jar staging

24
pom.xml
View File

@ -6,20 +6,20 @@
<groupId>cc.carm.plugin</groupId>
<artifactId>userprefix</artifactId>
<version>2.1.5</version>
<version>2.1.6</version>
<name>用户前缀系统</name>
<name>UserPrefix</name>
<description>轻便、高效、实时的用户前缀系统。</description>
<url>https://github.com/CarmJos/UserPrefix</url>
<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/CarmJos/UserPrefix/issues</url>
<url>${project.url}/issues</url>
</issueManagement>
<ciManagement>
<system>GitHub Actions</system>
<url>https://github.com/CarmJos/UserPrefix/actions/workflows/maven.yml</url>
<url>${project.url}/actions/workflows/maven.yml</url>
</ciManagement>
<developers>
@ -27,13 +27,18 @@
<id>CarmJos</id>
<name>Carm Jos</name>
<email>carm@carm.cc</email>
<url>https://work.carm.cc</url>
<roles>
<role>Main Developer</role>
</roles>
<url>https://work.carm.cc</url>
</developer>
</developers>
<organization>
<name>YourCraft你的世界</name>
<url>https://www.ycraft.cn/</url>
</organization>
<licenses>
<license>
<name>GNU General Public License v3.0</name>
@ -60,11 +65,6 @@
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
</repository>
<!-- <repository>-->
<!-- <id>lss233-repo</id>-->
<!-- <url>https://crystal.app.lss233.com/repositories/minecraft</url>-->
<!-- </repository>-->
<repository>
<id>oss-repo</id>
<url>https://oss.sonatype.org/content/groups/public/</url>
@ -83,7 +83,7 @@
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/CarmJos/UserPrefix</url>
<url>https://maven.pkg.github.com/CarmJos/${project.name}</url>
</repository>
</repositories>
@ -91,7 +91,7 @@
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/CarmJos/UserPrefix</url>
<url>https://maven.pkg.github.com/CarmJos/${project.name}</url>
</repository>
</distributionManagement>

View File

@ -1,11 +1,13 @@
main: cc.carm.plugin.userprefix.Main
name: UserPrefix
name: ${project.name}
version: ${project.version}
authors:
- Carm
- YourCraft
- ${project.organization.name}
- SakuraGame
website: "https://github.com/CarmJos/UserPrefix"
website: ${project.url}
description: ${project.description}
depend:
- LuckPerms
softdepend: