From 4ad75ab9f175ef536875d1a3bef909b95d0e21ee Mon Sep 17 00:00:00 2001 From: zhangyuheng Date: Fri, 5 Jul 2024 11:22:49 +0800 Subject: [PATCH] Revert "finish build script" This reverts commit e24de7647a2e0c592b1004abff0e27a0e444a800. --- .gitea/workflows/build.yml | 6 ++---- .github/workflows/build.yml | 4 +--- .idea/misc.xml | 2 +- .idea/vcs.xml | 2 ++ 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 0307ae0..0e6b777 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -26,9 +26,7 @@ jobs: - name: "Apply Patches" run: ./gradlew applyPatches - name: "Build Mojmap" - run: | - ./gradlew createReobfPaperclipJar - ./gradlew createMojmapPaperclipJar + run: ./gradlew createReobfPaperclipJar - name: "Copy jar to staging" run: mkdir staging && cp build/libs/*.jar staging - name: "Setup go for release script" @@ -40,7 +38,7 @@ jobs: - name: "Release" uses: https://ssl.lunadeer.cn:14446/zhangyuheng/release-action@main with: - note: " - 建议下载 `DeerFolia-paperclip-xxx-mojmap.jar` 版本。\n - 如果有插件无法运行可尝试 `DeerFolia-paperclip-xxx-reobf.jar`。" + note: " - 建议下载 `DeerFolia-paperclip-xxx.jar` 前缀的版本。" files: |- staging/*.jar api_key: '${{secrets.RELEASE_TOKEN}}' \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ab1b77f..09a530d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,9 +31,7 @@ jobs: - name: "Apply Patches" run: ./gradlew applyPatches - name: "Build Mojmap" - run: | - ./gradlew createReobfPaperclipJar - ./gradlew createMojmapPaperclipJar + run: ./gradlew createMojmapPaperclipJar - name: "Copy jar to staging" run: mkdir staging && cp build/libs/*.jar staging - uses: "softprops/action-gh-release@v2" diff --git a/.idea/misc.xml b/.idea/misc.xml index 3e260f1..78b34f6 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -4,7 +4,7 @@ - + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 0798d94..2686f5b 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -2,6 +2,8 @@ + + \ No newline at end of file