mirror of
https://github.com/BX-Team/DivineMC.git
synced 2025-12-25 09:49:28 +00:00
full .github dir update
This commit is contained in:
64
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
64
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
name: Bug Report
|
||||
description: File a bug report
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Before reporting a crash here, please make sure you are on the latest version of DivineMC.
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Expected behavior
|
||||
description: What you expected to see.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Observed/Actual behavior
|
||||
description: What you actually saw.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Steps/models to reproduce
|
||||
description: This may include a build schematic, a video, or detailed instructions to help reconstruct the issue.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: DivineMC version
|
||||
description: |
|
||||
Run `/version` on your server and **paste** the full, unmodified output here.
|
||||
"latest" is *not* a version; we require the output of `/version` so we can adequately track down the issue.
|
||||
Additionally, do NOT provide a screenshot, you MUST paste the entire output.
|
||||
<details>
|
||||
<summary>Example</summary>
|
||||
|
||||
```
|
||||
> version
|
||||
[17:22:05] [Thread-6/INFO]: Checking version, please wait...
|
||||
[17:22:07] [Thread-6/INFO]: This server is running DivineMC version git-DivineMC-"98074bc" (MC: 1.19.2) (Implementing API version Unknown-Version) (Git: 98074bc on ver/1.19.2)
|
||||
[17:22:07] [Thread-6/INFO]: You are running 2 versions beyond. Please update your server when possible to maintain stability, security, and receive the latest optimizations.
|
||||
```
|
||||
|
||||
</details>
|
||||
validations:
|
||||
required: true
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: Agreements
|
||||
description: Please agree to the following.
|
||||
options:
|
||||
- label: I am running the latest version of DivineMC from [here](https://github.com/DivineMC/DivineMC/releases).
|
||||
required: true
|
||||
- label: I have searched for and ensured there isn't already an open issue regarding this.
|
||||
required: true
|
||||
- label: My version of Minecraft is supported by DivineMC.
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Other
|
||||
description: |
|
||||
Please include other helpful information below.
|
||||
The more information we receive, the quicker and more effective we can be at finding the solution to the issue.
|
||||
validations:
|
||||
required: false
|
||||
8
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
8
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: DivineMC Discord
|
||||
url: https://discord.gg/PrKTKfR579
|
||||
about: If you are having issues, come ask us on our Discord server!
|
||||
- name: DivineMC Docs
|
||||
url: https://divinemc.bxteam.gq/docs
|
||||
about: You can find some Q&A at our DivineMC docs
|
||||
53
.github/workflows/build.yml
vendored
53
.github/workflows/build.yml
vendored
@@ -1,5 +1,11 @@
|
||||
name: Build
|
||||
name: Build DivineMC
|
||||
on: push
|
||||
|
||||
env:
|
||||
version: 1.19.2
|
||||
branch: ver/1.19.2
|
||||
debug: 'false'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -7,23 +13,50 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: gradle/wrapper-validation-action@v1
|
||||
- uses: actions/setup-java@v2
|
||||
- name:
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
|
||||
- name: Configure Git
|
||||
run: |
|
||||
git config --global user.email "no-reply@github.com"
|
||||
git config --global user.name "Github Actions"
|
||||
chmod +x gradlew
|
||||
|
||||
- name: Patch
|
||||
run: |
|
||||
./gradlew applyPatches --stacktrace
|
||||
run: ./gradlew applyPatches --stacktrace
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
./gradlew createReobfPaperclipJar --stacktrace
|
||||
- name: Archive Paperclip
|
||||
uses: actions/upload-artifact@v3.1.0
|
||||
run: ./gradlew build --stacktrace
|
||||
|
||||
- name: Create Reobf Jar
|
||||
run: ./gradlew createReobfPaperclipJar --stacktrace
|
||||
|
||||
- name: Upload Artifacts
|
||||
if: env.debug == 'true' || github.ref_name != env.branch
|
||||
uses: actions/upload-artifact@main
|
||||
with:
|
||||
name: DivineMC-1.19.2
|
||||
path: build/libs/DivineMC-paperclip-1.19.2-R0.1-SNAPSHOT-reobf.jar
|
||||
name: Artifacts
|
||||
path: build/libs
|
||||
|
||||
- name: Release Artifacts
|
||||
if: github.ref_name == env.branch
|
||||
uses: marvinpinto/action-automatic-releases@latest
|
||||
with:
|
||||
title: "Release #${{ env.workflow }}"
|
||||
automatic_release_tag: release-${{ env.workflow }}
|
||||
repo_token: "${{ secrets.REPO_TOKEN }}"
|
||||
files: build/libs/*.jar
|
||||
prerelease: false
|
||||
|
||||
- name: Release Artifacts (Latest)
|
||||
if: github.ref_name == env.branch
|
||||
uses: marvinpinto/action-automatic-releases@latest
|
||||
with:
|
||||
title: "Release #${{ env.workflow }}"
|
||||
automatic_release_tag: latest-${{ env.version }}
|
||||
repo_token: "${{ secrets.REPO_TOKEN }}"
|
||||
files: build/libs/*.jar
|
||||
prerelease: false
|
||||
Reference in New Issue
Block a user