Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature 1.19.2 | 1.19.3 | 1.19.4 #5

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Bug Report
description: Create a report to help us improve.
title: "[Bug] "
labels:
- "bug"
body:
- type: markdown
attributes:
value: "**Note: Please search for existing issues before reporting where possible to avoid duplicate reporting.**"
- type: input
id: version_version
attributes:
label: Minecraft Version
description: |
The version of Minecraft you are running?
validations:
required: true
- type: input
id: mod_version
attributes:
label: Xaero Map Addition Version
description: |
The version of Xaero Map Addition you are running?
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: |
Please tell us what the bug is with a clear and detailed description, put your screenshots if possible.
**Note: If this field is not filled in, it may result in the issue being closed directly.**
validations:
required: true
- type: textarea
id: to_reproduce
attributes:
label: To Reproduce
description: |
How do you trigger this bug? Please walk us through it step by step.
validations:
required: true
- type: textarea
id: expected_behavior
attributes:
label: Expected behavior
description: |
A clear and concise description of what you expected to happen.
- type: textarea
id: log
attributes:
label: Log
description: |
Please provide your log here if you can.
**Note: If this field is not filled in, it may result in the issue being closed directly.**
- type: checkboxes
id: latest_build_tested
attributes:
label: Latest CI build tested
options:
- label: I confirm that this problem still exists with the latest CI build.
required: true
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Feature Request
description: Suggest an idea for this project.
title: "[Feature Request] "
labels:
- "enhancement"
body:
- type: markdown
attributes:
value: "**Note: Please search for existing feature requests before reporting where possible to avoid duplicate requests**"
- type: textarea
id: description
attributes:
label: What new features do you want?
description: |
What new feature or change you want? How it improves? Please tell us the requirements is with a clear and detailed description, put your screenshots if possible.
validations:
required: true
- type: checkboxes
id: latest_build_tested
attributes:
label: Latest CI build tested
options:
- label: I confirm that the feature I requested is not in the latest CI build.
required: true
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Question
description: Anything you don't understand.
title: "[Question] "
labels:
- "question"
body:
- type: markdown
attributes:
value: "**Note: Please search for existing issues before reporting where possible to avoid duplicate reporting.**"
- type: dropdown
id: question_type
attributes:
label: Question Type
options:
- "Codes"
- "Usages"
- "Others"
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: |
Please tell us the question is with a clear and detailed description, put your screenshots if possible.
validations:
required: true
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: setup jdk ${{ matrix.java }}
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: ${{ matrix.java }}
- name: Set pre_release
run: |
Expand All @@ -35,7 +36,7 @@ jobs:
echo "::set-output name=jarname::$output"
- name: capture build artifacts
if: ${{ runner.os == 'Linux' && matrix.java == '17' }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ steps.findjar.outputs.jarname }}
path: fabricWrapper/build/libs/${{ steps.findjar.outputs.jarname }}
13 changes: 8 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/wrapper-validation-action@v3
- name: setup jdk ${{ matrix.java }}
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: ${{ matrix.java }}
- name: Set pre_release
run: |
Expand All @@ -30,7 +31,7 @@ jobs:
./gradlew preprocessResources
./gradlew build
- name: Publish Minecraft Mods
uses: Kir-Antipov/mc-publish@v2.1
uses: Kir-Antipov/mc-publish@v3.2
if: ${{ runner.os == 'Linux' && matrix.java == '17' }}
with:
modrinth-id: CTIW5eos
Expand All @@ -54,7 +55,9 @@ jobs:
1.16.5
1.17.1
1.18.2
1.19
1.19.2
1.19.3
1.19.4
version-resolver: exact

retry-attempts: 3
Expand Down
35 changes: 18 additions & 17 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
plugins {
id("maven-publish")
id("fabric-loom").version("0.12-SNAPSHOT").apply(false)
id("fabric-loom").version("1.1-SNAPSHOT").apply(false)
// https://github.com/Juuxel/LoomQuiltflower
id("io.github.juuxel.loom-quiltflower").version("1.7.0").apply(false)
// https://github.com/ReplayMod/preprocessor
// https://github.com/Fallen-Breath/preprocessor
id("com.replaymod.preprocess").version("b7207cffa9")
id("org.ajoberstar.grgit").version("4.1.0")
id("io.github.juuxel.loom-quiltflower").version("1.8.0").apply(false)
id("net.kyori.blossom").version("1.3.1").apply(false)
id("org.ajoberstar.grgit").version("5.0.0")
id("com.replaymod.preprocess").version("SNAPSHOT")
}

preprocess {
def mc114 = createNode("1.14.4", 1_14_04, "mojang")
def mc115 = createNode("1.15.2", 1_15_02, "mojang")
def mc116 = createNode("1.16.5", 1_16_05, "mojang")
def mc117 = createNode("1.17.1", 1_17_01, "mojang")
def mc118 = createNode("1.18.2", 1_18_02, "mojang")
def mc119 = createNode("1.19", 1_19_00, "mojang") // root
def mc1152 = createNode("1.15.2", 1_15_02, "mojang")
def mc1165 = createNode("1.16.5", 1_16_05, "mojang")
def mc1171 = createNode("1.17.1", 1_17_01, "mojang")
def mc1182 = createNode("1.18.2", 1_18_02, "mojang")
def mc1192 = createNode("1.19.2", 1_19_02, "mojang")
def mc1193 = createNode("1.19.3", 1_19_03, "mojang")
def mc1194 = createNode("1.19.4", 1_19_04, "mojang")

mc114.link(mc115, null)
mc115.link(mc116, null)
mc116.link(mc117, null)
mc117.link(mc118, null)
mc118.link(mc119, null)
mc1152.link(mc1165, file("versions/mapping-1.15.2-1.16.5.txt"))
mc1165.link(mc1171, null)
mc1171.link(mc1182, null)
mc1182.link(mc1192, null)
mc1192.link(mc1193, file("versions/mapping-1.19.2-1.19.3.txt"))
mc1193.link(mc1194, null)
}

String realVersion = "${project.mod_version}"
Expand Down
Loading