Skip to content

Commit

Permalink
Update .github things
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBunnyDc committed Sep 25, 2024
1 parent 23cb3c7 commit cb92c02
Show file tree
Hide file tree
Showing 9 changed files with 178 additions and 58 deletions.
61 changes: 61 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Bug Report
description: Create a report to help us improve
title: "[Bug]: "
labels:
- "bug"
- "unconfirmed"
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: dropdown
id: minecraft-version
attributes:
label: Minecraft Version
options:
- 1.20.2
- 1.20.4
- 1.20.5
- 1.20.6
validations:
required: true
- type: dropdown
id: mod-loader
attributes:
label: Mod Loader
options:
- NeoForge
- Forge
- Fabric
validations:
required: true
- type: input
id: mod-version
attributes:
label: WuidebookAPI Version
validations:
required: true
- type: input
id: loader-version
attributes:
label: ModLoader Version
validations:
required: true
- type: textarea
id: description
attributes:
label: What happened ?
description: Please describe what happened or what you expected instead
validations:
required: true
- type: textarea
attributes:
label: Reproduce Steps
description: Please describe how to reproduce your issue
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. If your game crashes, this must be a crash-report
render: shell
9 changes: 0 additions & 9 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Feature Request
description: Suggest an idea for thi smod
title: "[Feature]: "
labels:
- "discussion"
- "enhancement"
- "feature"
body:
- type: markdown
attributes:
value: |
Please describe your suggestion ass specific as possible. This increases the chance this will be considered.
- type: textarea
id: what
attributes:
label: What ?
description: What would you like to have changed or added to WuidebookAPI
placeholder: Tell us what you want to see!
validations:
required: true

- type: textarea
id: help
attributes:
label: Contributions
description: Can you provide additional resources ?
21 changes: 0 additions & 21 deletions .github/ISSUE_TEMPLATE/issue_report.md

This file was deleted.

64 changes: 64 additions & 0 deletions .github/ISSUE_TEMPLATE/mod_incompatibility.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Mod Incompatibility
description: Use this if there is a bug/problem with another mod
title: "[ModCompat]: "
labels:
- "bug"
- "modcompat"
- "unconfirmed"
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
Please make sure to add all required information.
- type: dropdown
id: minecraft-version
attributes:
label: Minecraft Version
options:
- 1.20.2
- 1.20.4
- 1.20.5
- 1.20.6
validations:
required: true
- type: input
id: incompatibility-mod
attributes:
label: Incompatibility Mod
description: Mod ID and version.
validations:
required: true
- type: dropdown
id: mod-loader
attributes:
label: Mod Loader
options:
- NeoForge
- Forge
- Fabric
validations:
required: true
- type: input
id: mod-version
attributes:
label: WuidebookAPI Version
validations:
required: true
- type: input
id: loader-version
attributes:
label: ModLoader Version
validations:
required: true
- type: textarea
attributes:
label: Reproduce Steps
description: Please describe how to reproduce your issue
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. If your game crashes, this must be a crash-report
render: shell
2 changes: 2 additions & 0 deletions .github/no-reponse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
daysUntilClose: 21
responseRequiredLabel: NeedsInfo
7 changes: 4 additions & 3 deletions .github/workflows/build_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ jobs:
fetch-depth: 1000
fetch-tags: true

- name: Setup JDK 21
uses: neoforged/actions/setup-java@main
- name: Setup JDK
uses: actions/setup-java@main
with:
java-version: 21
java-version: '21'
distribution: 'microsoft'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Gradle Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Java JDK
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'microsoft'
cache: 'gradle'

- name: Setup Gradle
run: ./gradlew

- name: Build
run: ./gradlew build

This file was deleted.

0 comments on commit cb92c02

Please sign in to comment.