-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
44 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*.java text eol=lf | ||
*.yml text eol=crlf | ||
*.txt text eol=crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,27 @@ | ||
name: pr-check | ||
on: | ||
pull_request: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 获取信息 | ||
id: get_info | ||
run: echo "repository_name=${GITHUB_REPOSITORY/${{ github.repository_owner }}\//}" >> $GITHUB_OUTPUT | ||
- name: 拉取代码 | ||
uses: actions/checkout@v3 | ||
- name: 安装java8 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '8' | ||
distribution: 'temurin' | ||
cache: maven | ||
- name: 构建 | ||
run: | | ||
mvn -B package --file pom.xml | ||
mkdir staging && cp target/*.jar staging | ||
- name: 收集构建文件 | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: ${{ steps.get_info.outputs.repository_name }}-Pr_check-Build-${{ github.run_number}} | ||
path: staging | ||
- name: 批准PR | ||
uses: hmarr/auto-approve-action@v4.0.0 | ||
name: pr-check | ||
on: | ||
pull_request: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 获取信息 | ||
id: get_info | ||
run: echo "repository_name=${GITHUB_REPOSITORY/${{ github.repository_owner }}\//}" >> $GITHUB_OUTPUT | ||
- name: 拉取代码 | ||
uses: actions/checkout@v3 | ||
- name: 安装java8 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '8' | ||
distribution: 'temurin' | ||
cache: maven | ||
- name: 构建 | ||
run: | | ||
mvn -B package --file pom.xml | ||
mkdir staging && cp target/*.jar staging | ||
- name: 收集构建文件 | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: ${{ steps.get_info.outputs.repository_name }}-Pr_check-Build-${{ github.run_number}} | ||
path: staging |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,4 +52,4 @@ public String getName(){ | |
* */ | ||
public abstract CommandParameter[] getParameters(); | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
Unknown_World: §c未知世界§6{0}§c,请检查是否在§6world_name.yml§c中填写! | ||
Unknown_Device_OS: §c未知的系统 | ||
Unknown_Device_controls: §c未知的操作方式 | ||
Unknown_Device_UIProfile: §cUnknown ui | ||
debug_plugins_found: §a找到插件§e【§b{0}§e】§a相关变量已加载 | ||
debug_plugins_not_found: §c无法找到插件§e【§b{0}§e】§c相关变量加载失败,请安装相关插件再试 | ||
Unknown_Device_UIProfile: §cUnknown ui |