From ecc0a3481fb9d0a4e83f9a8ed99b26c3537d1899 Mon Sep 17 00:00:00 2001 From: zhenlige Date: Thu, 28 Nov 2024 14:37:16 +0800 Subject: [PATCH 1/8] feat: update Fabric API --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index aaa189c..5f4afef 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,7 +14,7 @@ maven_group=com.github.zhenlige.xennote archives_base_name=xennote # Dependencies -fabric_version=0.107.0+1.21.3 +fabric_version=0.110.0+1.21.3 cloth_version=16.0.141 modmenu_version=12.0.0-beta.1 From 9719b92e6784521529d3ac6042e4518b6f197e6d Mon Sep 17 00:00:00 2001 From: zhenlige Date: Thu, 28 Nov 2024 14:49:26 +0800 Subject: [PATCH 2/8] fix: MC-Publish --- .github/workflows/publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 191fac2..5e4e1fd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,4 +31,6 @@ jobs: github-token: ${{ secrets.GAYHUB_TOKEN }} version-type: beta - loaders: ["fabric", "quilt"] \ No newline at end of file + loaders: | + fabric + quilt \ No newline at end of file From 7e05b5a55d21b52fa7d838fb759a3323eba7cbd4 Mon Sep 17 00:00:00 2001 From: zhenlige Date: Thu, 28 Nov 2024 14:49:26 +0800 Subject: [PATCH 3/8] fix: MC-Publish --- .github/workflows/publish.yml | 5 +---- src/main/resources/fabric.mod.json | 5 +++++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5e4e1fd..715ad73 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,7 +30,4 @@ jobs: github-token: ${{ secrets.GAYHUB_TOKEN }} - version-type: beta - loaders: | - fabric - quilt \ No newline at end of file + version-type: beta \ No newline at end of file diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 482de36..a5ad494 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -41,5 +41,10 @@ }, "suggests": { "another-mod": "*" + }, + "custom": { + "mc-publish": { + "loaders": ["fabric", "quilt"] + } } } \ No newline at end of file From 0e5c111b2b150c6e22426ad443c6b1c1977cd31a Mon Sep 17 00:00:00 2001 From: zhenlige Date: Thu, 28 Nov 2024 15:30:59 +0800 Subject: [PATCH 4/8] fix: MC-Publish --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 715ad73..b470afa 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,6 +17,7 @@ jobs: uses: actions/setup-java@v2 with: java-version: 21 + distribution: 'microsoft' - name: exe if: ${{ runner.os != 'Windows' }} run: chmod +x ./gradlew From b49119df2d913144183bca65767f4e97e3110c79 Mon Sep 17 00:00:00 2001 From: zhenlige Date: Thu, 28 Nov 2024 15:43:49 +0800 Subject: [PATCH 5/8] fix: MC-Publish --- .github/workflows/publish.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b470afa..e980a6b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,3 @@ -# https://wiki.fabricmc.net/zh_cn:tutorial:publishing_mods_using_github_actions name: publish on: [workflow_dispatch] @@ -14,7 +13,7 @@ jobs: with: submodules: true - name: setup Java - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: 21 distribution: 'microsoft' From 31a8eae5ec6fd44a2e47f2db86d1d9337ce1af66 Mon Sep 17 00:00:00 2001 From: zhenlige Date: Thu, 28 Nov 2024 15:56:46 +0800 Subject: [PATCH 6/8] fix: MC-Publish --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e980a6b..6667e38 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,4 +30,6 @@ jobs: github-token: ${{ secrets.GAYHUB_TOKEN }} + game-versions: [1.21.2, 1.21.3] + version-type: beta \ No newline at end of file From 0998630c600575203f81168aa6090f039d9b4e5d Mon Sep 17 00:00:00 2001 From: zhenlige Date: Thu, 28 Nov 2024 16:18:26 +0800 Subject: [PATCH 7/8] fix: MC-Publish --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6667e38..f07bb83 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,6 +30,6 @@ jobs: github-token: ${{ secrets.GAYHUB_TOKEN }} - game-versions: [1.21.2, 1.21.3] + game-versions: '>=1.21.2-' version-type: beta \ No newline at end of file From dd3eb6240e6c1bcbbc24b38eec0479080c8a375d Mon Sep 17 00:00:00 2001 From: zhenlige Date: Fri, 29 Nov 2024 19:48:34 +0800 Subject: [PATCH 8/8] fix: MC-Publish feat: update Gradle and Loom --- .github/workflows/publish.yml | 2 -- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- src/main/resources/fabric.mod.json | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f07bb83..e980a6b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,6 +30,4 @@ jobs: github-token: ${{ secrets.GAYHUB_TOKEN }} - game-versions: '>=1.21.2-' - version-type: beta \ No newline at end of file diff --git a/build.gradle b/build.gradle index 5addaf1..1f39d16 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'fabric-loom' version '1.7-SNAPSHOT' + id 'fabric-loom' version '1.8-SNAPSHOT' id 'maven-publish' id 'com.modrinth.minotaur' version '2.+' } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index a441313..e2847c8 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index a5ad494..5585e3c 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -35,7 +35,7 @@ ], "depends": { "fabricloader": "*", - "minecraft": ">=1.21.2-", + "minecraft": ">1.21.1", "java": ">=21", "fabric-api": "*" },