From d8f18403064a6dc73a3faee7e6a13cc4e8b57597 Mon Sep 17 00:00:00 2001 From: M2ke4U <79621885+MrHua269@users.noreply.github.com> Date: Sun, 1 Oct 2023 10:46:26 +0800 Subject: [PATCH 01/16] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e800055..4f52935 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ ## Molia +[![MIT License](https://img.shields.io/github/license/Era4FunMC/Molia?style=for-the-badge)](LICENSE) +[![Issues](https://img.shields.io/github/issues/Era4FunMC/Molia?style=for-the-badge)](https://github.com/MikuMC/MikuServer/issues)
Molia is a drop-in replacement for Folia servers designed for customize, and performance built on top of Folia.
From 8144468b1ff96fdf85f333eb526bdd18e31bd419 Mon Sep 17 00:00:00 2001 From: M2ke4U <79621885+MrHua269@users.noreply.github.com> Date: Sun, 1 Oct 2023 10:56:59 +0800 Subject: [PATCH 02/16] Update build.yml --- .github/workflows/build.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 42c9cca..ab42786 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,7 @@ # This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle -name: CI - Ver/1.20.1 +name: MoliaCI - Ver/1.20.1 on: push: @@ -13,9 +13,6 @@ on: pull_request: branches: [ "ver/1.20.1" ] -permissions: - contents: read - jobs: build: @@ -43,3 +40,11 @@ jobs: with: name: Artifacts path: build/libs/ + - name: Release Artifacts + uses: marvinpinto/action-automatic-releases@latest + with: + title: "Molia MC1.20.1 - ${{ env.workflow }}" + automatic_release_tag: "ver/1.20.1-${{ env.workflow }}" + repo_token: "${{ secrets.GITHUB_TOKEN }}" + files: "build/libs/*.jar" + prerelease: false From dde16e503c02ce0bfc72ce09b51a3211a1ea10ce Mon Sep 17 00:00:00 2001 From: M2ke4U <79621885+MrHua269@users.noreply.github.com> Date: Sun, 1 Oct 2023 11:02:14 +0800 Subject: [PATCH 03/16] Fix incorrect tag name --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ab42786..0d68536 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,7 +44,7 @@ jobs: uses: marvinpinto/action-automatic-releases@latest with: title: "Molia MC1.20.1 - ${{ env.workflow }}" - automatic_release_tag: "ver/1.20.1-${{ env.workflow }}" + automatic_release_tag: "1.20.1-${{ env.workflow }}" repo_token: "${{ secrets.GITHUB_TOKEN }}" files: "build/libs/*.jar" prerelease: false From d4ef6b8de1f2d1542d360c4ad770da4de9e46a2c Mon Sep 17 00:00:00 2001 From: M2ke4U <79621885+MrHua269@users.noreply.github.com> Date: Sun, 1 Oct 2023 11:08:02 +0800 Subject: [PATCH 04/16] Fix incorrect tag again* --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0d68536..5eace81 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,7 +44,7 @@ jobs: uses: marvinpinto/action-automatic-releases@latest with: title: "Molia MC1.20.1 - ${{ env.workflow }}" - automatic_release_tag: "1.20.1-${{ env.workflow }}" + automatic_release_tag: "1.20.1-${{ env.Compile_Date }}" repo_token: "${{ secrets.GITHUB_TOKEN }}" files: "build/libs/*.jar" prerelease: false From aa7bf8d55272f6c90f0128320dc311400a123175 Mon Sep 17 00:00:00 2001 From: M2ke4U <79621885+MrHua269@users.noreply.github.com> Date: Sun, 1 Oct 2023 11:08:34 +0800 Subject: [PATCH 05/16] ** --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5eace81..ce854e3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,7 @@ jobs: - name: Release Artifacts uses: marvinpinto/action-automatic-releases@latest with: - title: "Molia MC1.20.1 - ${{ env.workflow }}" + title: "Molia MC1.20.1 - ${{ env.Compile_Date }}" automatic_release_tag: "1.20.1-${{ env.Compile_Date }}" repo_token: "${{ secrets.GITHUB_TOKEN }}" files: "build/libs/*.jar" From d25aeb6628f65c6b2febf69526e89929f80d21f8 Mon Sep 17 00:00:00 2001 From: M2ke4U <79621885+MrHua269@users.noreply.github.com> Date: Sun, 1 Oct 2023 11:15:26 +0800 Subject: [PATCH 06/16] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ce854e3..c47a0e8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,7 +41,7 @@ jobs: name: Artifacts path: build/libs/ - name: Release Artifacts - uses: marvinpinto/action-automatic-releases@latest + uses: svenstaro/upload-release-action@v2 with: title: "Molia MC1.20.1 - ${{ env.Compile_Date }}" automatic_release_tag: "1.20.1-${{ env.Compile_Date }}" From 2e6087fe5ff74b52721ca425f3208baac4e9f02f Mon Sep 17 00:00:00 2001 From: M2ke4U <79621885+MrHua269@users.noreply.github.com> Date: Sun, 1 Oct 2023 11:23:51 +0800 Subject: [PATCH 07/16] Update build.yml --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c47a0e8..c023eb4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,11 +40,13 @@ jobs: with: name: Artifacts path: build/libs/ + - name: Rename jar file + run: mv build/libs/Molia-paperclip-1.20.1-R0.1-SNAPSHOT-reobf.jar build/libs/molia-1.20.1-paperclip.jar - name: Release Artifacts uses: svenstaro/upload-release-action@v2 with: title: "Molia MC1.20.1 - ${{ env.Compile_Date }}" automatic_release_tag: "1.20.1-${{ env.Compile_Date }}" repo_token: "${{ secrets.GITHUB_TOKEN }}" - files: "build/libs/*.jar" + files: "build/libs/molia-1.20.1-paperclip.jar" prerelease: false From a203508a37b152efad420ae6f913a9b9e830c63c Mon Sep 17 00:00:00 2001 From: M2ke4U <79621885+MrHua269@users.noreply.github.com> Date: Sun, 1 Oct 2023 11:27:30 +0800 Subject: [PATCH 08/16] Update build.yml --- .github/workflows/build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c023eb4..47cad04 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,8 +45,9 @@ jobs: - name: Release Artifacts uses: svenstaro/upload-release-action@v2 with: - title: "Molia MC1.20.1 - ${{ env.Compile_Date }}" - automatic_release_tag: "1.20.1-${{ env.Compile_Date }}" + release_name: "Molia MC1.20.1 - ${{ env.Compile_Date }}" + tag: "1.20.1-${{ env.Compile_Date }}" repo_token: "${{ secrets.GITHUB_TOKEN }}" - files: "build/libs/molia-1.20.1-paperclip.jar" + file: "build/libs/molia-1.20.1-paperclip.jar" + file_glob: true prerelease: false From 037b583df50d287c70b5c2091480eb732e171eff Mon Sep 17 00:00:00 2001 From: M2ke4U <79621885+MrHua269@users.noreply.github.com> Date: Sun, 1 Oct 2023 11:50:08 +0800 Subject: [PATCH 09/16] Update build.yml --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 47cad04..dd8390c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,8 +45,8 @@ jobs: - name: Release Artifacts uses: svenstaro/upload-release-action@v2 with: - release_name: "Molia MC1.20.1 - ${{ env.Compile_Date }}" - tag: "1.20.1-${{ env.Compile_Date }}" + release_name: "Molia MC1.20.1 - ${{ github.event.repository.updated_at}}" + tag: "1.20.1-${{ github.event.repository.updated_at}}}" repo_token: "${{ secrets.GITHUB_TOKEN }}" file: "build/libs/molia-1.20.1-paperclip.jar" file_glob: true From b182c12307ba06a335ed81ef16b4fb992f998c30 Mon Sep 17 00:00:00 2001 From: M2ke4U <79621885+MrHua269@users.noreply.github.com> Date: Sun, 1 Oct 2023 12:02:16 +0800 Subject: [PATCH 10/16] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dd8390c..941d72a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,7 @@ jobs: uses: svenstaro/upload-release-action@v2 with: release_name: "Molia MC1.20.1 - ${{ github.event.repository.updated_at}}" - tag: "1.20.1-${{ github.event.repository.updated_at}}}" + tag: "1.20.1-${{ github.run.number }}}" repo_token: "${{ secrets.GITHUB_TOKEN }}" file: "build/libs/molia-1.20.1-paperclip.jar" file_glob: true From ecb2c45b0fed7709a0c56ae0643938c941e8ce81 Mon Sep 17 00:00:00 2001 From: M2ke4U <79621885+MrHua269@users.noreply.github.com> Date: Sun, 1 Oct 2023 12:11:18 +0800 Subject: [PATCH 11/16] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 941d72a..08cb08e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,7 @@ jobs: uses: svenstaro/upload-release-action@v2 with: release_name: "Molia MC1.20.1 - ${{ github.event.repository.updated_at}}" - tag: "1.20.1-${{ github.run.number }}}" + tag: "1.20.1-${{ github.run.nubmer }}" repo_token: "${{ secrets.GITHUB_TOKEN }}" file: "build/libs/molia-1.20.1-paperclip.jar" file_glob: true From ca62f0136d8f81759280b195f87321ebfc64fe4e Mon Sep 17 00:00:00 2001 From: M2ke4U <79621885+MrHua269@users.noreply.github.com> Date: Sun, 1 Oct 2023 12:18:19 +0800 Subject: [PATCH 12/16] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 08cb08e..b3fb38c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,7 @@ jobs: uses: svenstaro/upload-release-action@v2 with: release_name: "Molia MC1.20.1 - ${{ github.event.repository.updated_at}}" - tag: "1.20.1-${{ github.run.nubmer }}" + tag: "1.20.1-${{ GITHUB_RUN_NUMBER }}" repo_token: "${{ secrets.GITHUB_TOKEN }}" file: "build/libs/molia-1.20.1-paperclip.jar" file_glob: true From 4180ecb53afe95ce3795ef81af251290e70304e9 Mon Sep 17 00:00:00 2001 From: M2ke4U <79621885+MrHua269@users.noreply.github.com> Date: Sun, 1 Oct 2023 12:37:19 +0800 Subject: [PATCH 13/16] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b3fb38c..c557bf0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,7 @@ jobs: uses: svenstaro/upload-release-action@v2 with: release_name: "Molia MC1.20.1 - ${{ github.event.repository.updated_at}}" - tag: "1.20.1-${{ GITHUB_RUN_NUMBER }}" + tag: "1.20.1-${{ github.run.number }}" repo_token: "${{ secrets.GITHUB_TOKEN }}" file: "build/libs/molia-1.20.1-paperclip.jar" file_glob: true From 74222e88c118d4ec5c81879b6e093c5a7e6b3da6 Mon Sep 17 00:00:00 2001 From: M2ke4U <79621885+MrHua269@users.noreply.github.com> Date: Sun, 1 Oct 2023 12:49:06 +0800 Subject: [PATCH 14/16] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c557bf0..e755abb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,7 @@ jobs: uses: svenstaro/upload-release-action@v2 with: release_name: "Molia MC1.20.1 - ${{ github.event.repository.updated_at}}" - tag: "1.20.1-${{ github.run.number }}" + tag: "${{ github.sha }}" repo_token: "${{ secrets.GITHUB_TOKEN }}" file: "build/libs/molia-1.20.1-paperclip.jar" file_glob: true From df34d4b61272b1dea1324acbf978a26446e98564 Mon Sep 17 00:00:00 2001 From: M2ke4U <79621885+MrHua269@users.noreply.github.com> Date: Sun, 1 Oct 2023 12:55:45 +0800 Subject: [PATCH 15/16] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e755abb..7eaa975 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,7 @@ jobs: uses: svenstaro/upload-release-action@v2 with: release_name: "Molia MC1.20.1 - ${{ github.event.repository.updated_at}}" - tag: "${{ github.sha }}" + tag: "1.20.1-${{ github.run.id }}" repo_token: "${{ secrets.GITHUB_TOKEN }}" file: "build/libs/molia-1.20.1-paperclip.jar" file_glob: true From bd7c1bed96efb9dcf64c8f0116d5306b3d051342 Mon Sep 17 00:00:00 2001 From: M2ke4U <79621885+MrHua269@users.noreply.github.com> Date: Sun, 1 Oct 2023 13:21:46 +0800 Subject: [PATCH 16/16] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7eaa975..3100f57 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,7 @@ jobs: uses: svenstaro/upload-release-action@v2 with: release_name: "Molia MC1.20.1 - ${{ github.event.repository.updated_at}}" - tag: "1.20.1-${{ github.run.id }}" + tag: "1.20.1-${{ github.run_id }}" repo_token: "${{ secrets.GITHUB_TOKEN }}" file: "build/libs/molia-1.20.1-paperclip.jar" file_glob: true