generated from ArtformGames/TemplateSinglePlugin
-
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
0 parents
commit fdff934
Showing
13 changed files
with
1,310 additions
and
0 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,36 @@ | ||
--- | ||
name: Submit bugs&issues | ||
about: Describe the problem and submit it to help us review and fix it. | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
### **Description** | ||
|
||
<!-- Describe the general problem in short words.--> | ||
|
||
### **Operatios** | ||
|
||
<!-- | ||
Describe the problem discovered through what operations, such as: | ||
1. Clicked '...' | ||
2. Typed '....' | ||
3. Error says '....' | ||
--> | ||
|
||
### **Expected result** _(Optional)_ | ||
|
||
### **Screenshots & Error Logs** | ||
|
||
|
||
### **Environment** | ||
|
||
- System: `Windows 10` / `Ubuntu` / `...` | ||
- Java version: `JDK11` / `OPENJDK8` / `JRE8` / `...` | ||
|
||
### **Anything else...** | ||
|
||
<!-- If there are other supplements, they can be described here. --> |
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,23 @@ | ||
--- | ||
name: Features | ||
about: Ask for new features. | ||
title: '' | ||
labels: enhancement | ||
assignees: '' | ||
--- | ||
|
||
### **Description** | ||
|
||
<!-- Describe the features in short words.--> | ||
|
||
### **Source** | ||
|
||
<!-- Describe the reason that you need this feature in short words.--> | ||
|
||
### **Examples** _(Optional)_ | ||
|
||
<!--Any screenshots or example codes please.--> | ||
|
||
### **AddItional details** | ||
|
||
<!--If there are any small details that need to be highlighted, please let us know here.--> |
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,11 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "maven" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "daily" |
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,42 @@ | ||
# 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 & Upload | ||
|
||
on: | ||
# 支持手动触发构建 | ||
workflow_dispatch: | ||
release: | ||
# 创建release的时候触发 | ||
types: [ published ] | ||
|
||
jobs: | ||
gh-deploy: | ||
name: "Publish Project (GitHub)" | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
packages: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: "Set up JDK" | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '18' | ||
distribution: 'adopt' | ||
cache: maven | ||
|
||
- name: "Maven Deploy" | ||
run: mvn --batch-mode deploy -DskipTests | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: "Release Asset Upload" | ||
id: upload-release-asset | ||
uses: shogo82148/actions-upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ".asset/*.jar" | ||
asset_content_type: application/java-archive |
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,42 @@ | ||
# 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: Build & Test | ||
|
||
on: | ||
# 支持手动触发构建 | ||
workflow_dispatch: | ||
push: | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: "Set up JDK" | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '18' | ||
distribution: 'adopt' | ||
cache: maven | ||
|
||
- name: "Package" | ||
run: mvn -B package --file pom.xml | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: "Upload artifacts" | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: artifacts | ||
path: "**/target/" | ||
retention-days: 1 # 仅保留1天。 | ||
|
||
- name: "Upload assets" | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: assets | ||
path: ".asset/" | ||
retention-days: 5 |
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,36 @@ | ||
.asset/ | ||
target/ | ||
!.mvn/wrapper/maven-wrapper.jar | ||
!**/src/main/**/target/ | ||
!**/src/test/**/target/ | ||
|
||
### IntelliJ IDEA ### | ||
.idea/ | ||
*.iws | ||
*.iml | ||
*.ipr | ||
|
||
### Eclipse ### | ||
.apt_generated | ||
.classpath | ||
.factorypath | ||
.project | ||
.settings | ||
.springBeans | ||
.sts4-cache | ||
|
||
### NetBeans ### | ||
/nbproject/private/ | ||
/nbbuild/ | ||
/dist/ | ||
/nbdist/ | ||
/.nb-gradle/ | ||
build/ | ||
!**/src/main/**/build/ | ||
!**/src/test/**/build/ | ||
|
||
### VS Code ### | ||
.vscode/ | ||
|
||
### Mac OS ### | ||
.DS_Store |
Oops, something went wrong.