From 374e5b8b04e8176d01f861c0098b12160ef502d4 Mon Sep 17 00:00:00 2001 From: TexTrue <3140846162@qq.com> Date: Sun, 8 Oct 2023 08:07:15 +0800 Subject: [PATCH] jitpack --- .github/workflows/build.yml | 32 ++++++++++++++++++++++++++++++ README.md | 4 ++-- jitpack.yml | 2 ++ src/main/resources/fabric.mod.json | 15 +++++++------- 4 files changed, 44 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/build.yml create mode 100644 jitpack.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..76bbcf9dd --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,32 @@ +name: build +on: + workflow_dispatch: + pull_request: + push: + +jobs: + build: + runs-on: ubuntu-latest + steps: + + - name: checkout repository + uses: actions/checkout@v3 + + - name: make gradle wrapper executable + run: chmod +x ./gradlew + + - name: setup Java + uses: actions/setup-java@v3 + with: + distribution: temurin + java-version: 17 + cache: gradle + + - name: build + run: ./gradlew build + + - name: capture build artifacts + uses: actions/upload-artifact@v3 + with: + name: Artifacts + path: build/libs/ diff --git a/README.md b/README.md index e26a5e006..88404d6b1 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@
Logo by @voxel_dani on Twitter -

Flywheel DM-Earth Edition

+

Flywheel Fabric DM-Earth Edition

A modern engine for modded Minecraft.
Jenkins -Discord +Discord
diff --git a/jitpack.yml b/jitpack.yml new file mode 100644 index 000000000..43a4703f8 --- /dev/null +++ b/jitpack.yml @@ -0,0 +1,2 @@ +jdk: + - openjdk17 diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 37d0bfd98..3e09bd926 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -3,16 +3,17 @@ "id": "flywheel", "version": "${version}", - "name": "Flywheel", + "name": "Flywheel Fabric DM-Earth Edition", "description": "A modern engine for modded minecraft.", "authors": [ "Jozufozu", - "Pepper_Bell" + "Pepper_Bell", + "TexTrue", + "DM-Earth" ], "contact": { - "homepage": "https://www.curseforge.com/minecraft/mc-mods/flywheel", - "issues": "https://github.com/Jozufozu/Flywheel/issues", - "sources": "https://github.com/Jozufozu/Flywheel" + "issues": "https://github.com/DM-Earth/flywheel-fabric-dme-edition/issues", + "sources": "https://github.com/DM-Earth/flywheel-fabric-dme-edition" }, "license": "MIT", @@ -31,8 +32,8 @@ ], "depends": { - "fabricloader": ">=0.11.3", - "fabric": ">=0.84.0", + "fabricloader": "*", + "fabric": "*", "minecraft": ">=1.20.1", "java": ">=17" }