mirror of
https://github.com/CarmJos/PlayerPrefix.git
synced 2026-06-05 02:18:16 +08:00
Compare commits
33 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d3ea1ef502 | |||
| 52df3fa4ae | |||
| f3ed09deec | |||
| 608e80434b | |||
| 2b0942d201 | |||
| f2a5ec546a | |||
| ca15918e52 | |||
| a4d7e0153f | |||
| f7e02a00b1 | |||
| 5a808b2b9f | |||
| f358987c4c | |||
| 94f8f86418 | |||
| 6a8a349ee3 | |||
| 91935882bd | |||
| 4a1382a452 | |||
| b2880c8fab | |||
| 3c05967d7e | |||
| 1aa5d2d3b5 | |||
| 0bbaf484e6 | |||
| 2d12a31764 | |||
| 20a02eff2b | |||
| e23e137a6e | |||
| 37e80b554b | |||
| f2a74e0d90 | |||
| 2c75cd5f0e | |||
| f8c61bc843 | |||
| 127617c4d0 | |||
| 2a024e2885 | |||
| 48e8fc7847 | |||
| c39836d439 | |||
| c081f02cb8 | |||
| 8d087d3abd | |||
| ff40d921e7 |
@@ -1,33 +0,0 @@
|
||||
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
|
||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
|
||||
|
||||
name: Deploy
|
||||
|
||||
on:
|
||||
# 支持手动触发构建
|
||||
workflow_dispatch:
|
||||
release:
|
||||
# 创建release的时候触发
|
||||
types: [ published ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: "Set up JDK"
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'adopt'
|
||||
cache: maven
|
||||
server-id: github
|
||||
server-username: MAVEN_USERNAME
|
||||
server-password: MAVEN_TOKEN
|
||||
- name: "Deploy"
|
||||
run: mvn -B deploy --file pom.xml
|
||||
env:
|
||||
MAVEN_USERNAME: ${{ github.repository_owner }}
|
||||
MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
@@ -14,9 +14,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v6
|
||||
- name: "Set up JDK"
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'adopt'
|
||||
@@ -32,7 +32,7 @@ jobs:
|
||||
- name: "Target Stage"
|
||||
run: mkdir staging && cp target/*.jar staging
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: artifact
|
||||
path: staging
|
||||
@@ -5,8 +5,8 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>cc.carm.plugin</groupId>
|
||||
<artifactId>PlayerPrefix</artifactId>
|
||||
<version>1.1.0</version>
|
||||
<artifactId>playerprefix</artifactId>
|
||||
<version>1.1.1</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<properties>
|
||||
@@ -15,7 +15,7 @@
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
</properties>
|
||||
|
||||
<name>玩家前缀系统</name>
|
||||
<name>PlayerPrefix</name>
|
||||
<description>指令操作的轻量玩家前缀管理插件。</description>
|
||||
<url>https://github.com/CarmJos/PlayerPrefix</url>
|
||||
|
||||
@@ -109,14 +109,14 @@
|
||||
<dependency>
|
||||
<groupId>me.clip</groupId>
|
||||
<artifactId>placeholderapi</artifactId>
|
||||
<version>2.10.9</version>
|
||||
<version>2.12.2</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.13</version>
|
||||
<version>4.13.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
@@ -128,7 +128,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<version>3.15.0</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
@@ -139,12 +139,12 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<version>3.5.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<version>3.4.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
@@ -157,7 +157,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>3.2.3</version>
|
||||
<version>3.6.2</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
@@ -184,7 +184,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.22.1</version>
|
||||
<version>3.5.6</version>
|
||||
<configuration>
|
||||
<useSystemClassLoader>false</useSystemClassLoader>
|
||||
</configuration>
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:recommended"
|
||||
]
|
||||
}
|
||||
@@ -1,7 +1,10 @@
|
||||
main: cc.carm.plugin.playerprefix.Main
|
||||
|
||||
name: ${project.artifactId}
|
||||
name: ${project.name}
|
||||
version: ${project.version}
|
||||
description: ${project.description}
|
||||
author: CarmJos
|
||||
website: ${project.url}
|
||||
|
||||
depend:
|
||||
- ProtocolLib
|
||||
@@ -13,6 +16,4 @@ commands:
|
||||
aliases:
|
||||
- prefix
|
||||
|
||||
author: CarmJos
|
||||
website: ${project.url}
|
||||
description: ${project.description}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user