From 5ef0928c0a68bdeb1a698115fa3f328a70b7bf0e Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sat, 23 Aug 2025 23:17:14 +0800 Subject: [PATCH 01/22] Create pack.yml --- .github/workflows/pack.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/pack.yml diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml new file mode 100644 index 00000000..842306ed --- /dev/null +++ b/.github/workflows/pack.yml @@ -0,0 +1,14 @@ +name: Pack Help.zip +on: + push: + paths: '**/**' + workflow_dispatch: + +jobs: + update-help: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Remove + run: rm -f * && ls From d4f5cd79338d647240c767ba1bbfe85efff9a3bd Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sat, 23 Aug 2025 23:23:32 +0800 Subject: [PATCH 02/22] Test --- .github/workflows/pack.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 842306ed..3963eea4 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -11,4 +11,6 @@ jobs: - uses: actions/checkout@v4 - name: Remove - run: rm -f * && ls + run: | + rm -f * || true + rm -r .github \ No newline at end of file From f23e839d025f56d46856b28a363cd0f27cfd063e Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sat, 23 Aug 2025 23:29:58 +0800 Subject: [PATCH 03/22] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20pack.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pack.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 3963eea4..fbcff54c 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -13,4 +13,11 @@ jobs: - name: Remove run: | rm -f * || true - rm -r .github \ No newline at end of file + rm -r .github + ls + + - name: Upload a Build Artifact + uses: actions/upload-artifact@v4 + with: + name: Help.zip + path: ./ \ No newline at end of file From bfa0817a0eb840cdeb465249e3e7fca20c415d23 Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sat, 23 Aug 2025 23:36:06 +0800 Subject: [PATCH 04/22] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20pack.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pack.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index fbcff54c..7a57d3aa 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -10,14 +10,15 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Remove + - name: Pack run: | rm -f * || true rm -r .github ls + zip Help.zip ./ - name: Upload a Build Artifact uses: actions/upload-artifact@v4 with: - name: Help.zip - path: ./ \ No newline at end of file + name: Help + path: Help.zip \ No newline at end of file From 2c8208e1d0833143192d480a3cce3b5aba351e9c Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sat, 23 Aug 2025 23:37:19 +0800 Subject: [PATCH 05/22] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20pack.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 7a57d3aa..86fb2d05 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -15,7 +15,7 @@ jobs: rm -f * || true rm -r .github ls - zip Help.zip ./ + zip -r Help.zip ./ - name: Upload a Build Artifact uses: actions/upload-artifact@v4 From b0151c426e0da54ba7386fece7ac0c7257c0381b Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sat, 23 Aug 2025 23:41:59 +0800 Subject: [PATCH 06/22] why? --- .github/workflows/pack.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 86fb2d05..eb7c4bd0 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -15,10 +15,9 @@ jobs: rm -f * || true rm -r .github ls - zip -r Help.zip ./ - name: Upload a Build Artifact uses: actions/upload-artifact@v4 with: name: Help - path: Help.zip \ No newline at end of file + path: ./ \ No newline at end of file From f5e47f5d4dc0ea05c75b5920646f8434d624ef66 Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sat, 23 Aug 2025 23:53:46 +0800 Subject: [PATCH 07/22] Test --- .github/workflows/pack.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index eb7c4bd0..a6fc46cf 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -20,4 +20,15 @@ jobs: uses: actions/upload-artifact@v4 with: name: Help - path: ./ \ No newline at end of file + path: ./ + + - uses: actions/checkout@v4 + with: + repository: PCL-Community/PCL-CE + + - name: CD + run: | + cd "Plain Craft Launcher 2/Resources" + + - name: Download a Build Artifact + uses: actions/download-artifact@v5.0.0 From 1693b62bdd6de80b4af03cd1f5a84d721477b00f Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sat, 23 Aug 2025 23:55:32 +0800 Subject: [PATCH 08/22] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20pack.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index a6fc46cf..2e4da65e 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v4 with: - repository: PCL-Community/PCL-CE + repository: PCL-Community/PCL2-CE - name: CD run: | From 43de900d8114d64265e17d734eefcdf3db6c1380 Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sun, 24 Aug 2025 00:10:59 +0800 Subject: [PATCH 09/22] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20pack.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pack.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 2e4da65e..72269894 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -26,9 +26,7 @@ jobs: with: repository: PCL-Community/PCL2-CE - - name: CD - run: | - cd "Plain Craft Launcher 2/Resources" - - name: Download a Build Artifact uses: actions/download-artifact@v5.0.0 + with: + path: 'Plain Craft Launcher 2/Resources' \ No newline at end of file From f8736665849c8f2579fa1ea07b34abdcdc5ed2c0 Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sun, 24 Aug 2025 09:13:38 +0800 Subject: [PATCH 10/22] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20pack.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pack.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 72269894..71fda5b1 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -29,4 +29,8 @@ jobs: - name: Download a Build Artifact uses: actions/download-artifact@v5.0.0 with: - path: 'Plain Craft Launcher 2/Resources' \ No newline at end of file + path: 'Plain Craft Launcher 2/Resources' + + - name: Git + run: | + ls "Plain Craft Launcher 2/Resources" \ No newline at end of file From 84ec544ccedfc51f35d0983b413f3d698b4bcd1b Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sun, 24 Aug 2025 09:20:34 +0800 Subject: [PATCH 11/22] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20pack.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pack.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 71fda5b1..01ea5b49 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -14,13 +14,14 @@ jobs: run: | rm -f * || true rm -r .github + zip Help.zip ./ ls - name: Upload a Build Artifact uses: actions/upload-artifact@v4 with: name: Help - path: ./ + path: Help.zip - uses: actions/checkout@v4 with: From 5a3f71d72a6e5a0c197ca0961151223cbfa984bb Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sun, 24 Aug 2025 09:23:59 +0800 Subject: [PATCH 12/22] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20pack.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 01ea5b49..c4fe6708 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -14,7 +14,7 @@ jobs: run: | rm -f * || true rm -r .github - zip Help.zip ./ + zip -r Help.zip ./ ls - name: Upload a Build Artifact From e25a1ca3478ab55a30d580e17b0ade932266109c Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sun, 24 Aug 2025 09:30:36 +0800 Subject: [PATCH 13/22] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20pack.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index c4fe6708..62f44780 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -13,7 +13,7 @@ jobs: - name: Pack run: | rm -f * || true - rm -r .github + rm -r .* zip -r Help.zip ./ ls From 3f9cddcd7daffe8308ed0b41060a6cc65604e590 Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sun, 24 Aug 2025 09:33:55 +0800 Subject: [PATCH 14/22] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20pack.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pack.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 62f44780..a2dfa6f6 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -27,11 +27,7 @@ jobs: with: repository: PCL-Community/PCL2-CE - - name: Download a Build Artifact - uses: actions/download-artifact@v5.0.0 - with: - path: 'Plain Craft Launcher 2/Resources' - - name: Git run: | - ls "Plain Craft Launcher 2/Resources" \ No newline at end of file + ls ../ + cp Help.zip "Plain Craft Launcher 2/Resources" \ No newline at end of file From 7d2ffabc1d6a132615e4683b6e718e0b038f099d Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sun, 24 Aug 2025 09:36:07 +0800 Subject: [PATCH 15/22] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20pack.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index a2dfa6f6..707ef8b3 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -29,5 +29,5 @@ jobs: - name: Git run: | - ls ../ + ls * cp Help.zip "Plain Craft Launcher 2/Resources" \ No newline at end of file From 0dd62c0974ad5a8718414512433782439c13db61 Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sun, 24 Aug 2025 09:39:15 +0800 Subject: [PATCH 16/22] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20pack.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pack.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 707ef8b3..0836a9f1 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -15,6 +15,7 @@ jobs: rm -f * || true rm -r .* zip -r Help.zip ./ + cd .. ls - name: Upload a Build Artifact From 2d9a87293e0f810fd0bb1989b81dbc2094868fe7 Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sun, 24 Aug 2025 09:52:52 +0800 Subject: [PATCH 17/22] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20pack.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pack.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 0836a9f1..0b14349c 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -28,7 +28,10 @@ jobs: with: repository: PCL-Community/PCL2-CE + - uses: actions/download-artifact + with: + path: 'Plain Craft Launcher 2/Resources' + - name: Git run: | - ls * - cp Help.zip "Plain Craft Launcher 2/Resources" \ No newline at end of file + ls \ No newline at end of file From 6e36b00c8b41e229ea69135f7506007ffbd7995c Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sun, 24 Aug 2025 09:57:31 +0800 Subject: [PATCH 18/22] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20pack.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pack.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 0b14349c..511d64af 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -8,14 +8,13 @@ jobs: update-help: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Pack run: | rm -f * || true rm -r .* zip -r Help.zip ./ - cd .. ls - name: Upload a Build Artifact @@ -24,11 +23,11 @@ jobs: name: Help path: Help.zip - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: repository: PCL-Community/PCL2-CE - - uses: actions/download-artifact + - uses: actions/download-artifact@v5 with: path: 'Plain Craft Launcher 2/Resources' From 4b7f69f4eafdea5b745810342596f39f2fb637f8 Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sun, 24 Aug 2025 09:59:28 +0800 Subject: [PATCH 19/22] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20pack.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pack.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 511d64af..36c73584 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -15,7 +15,6 @@ jobs: rm -f * || true rm -r .* zip -r Help.zip ./ - ls - name: Upload a Build Artifact uses: actions/upload-artifact@v4 @@ -33,4 +32,4 @@ jobs: - name: Git run: | - ls \ No newline at end of file + ls -R \ No newline at end of file From 5cbe6791268ddba7699dc72224092e77b7cd3128 Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sun, 24 Aug 2025 18:59:23 +0800 Subject: [PATCH 20/22] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20pack.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pack.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 36c73584..3ad4acd9 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -30,6 +30,18 @@ jobs: with: path: 'Plain Craft Launcher 2/Resources' - - name: Git + - name: Import GPG key + uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec + with: + gpg_private_key: ${{ secrets.UPDATE_GPG_PRIVATE_KEY }} + passphrase: ${{ secrets.UPDATE_GPG_PASSPHRASE }} + git_user_signingkey: true + git_commit_gpgsign: true + + - name: Update submodule run: | - ls -R \ No newline at end of file + git config user.name "PCL-Community-Bot" + git config user.email "167983016+PCL-Community-Bot@users.noreply.github.com" + git commit -S -a -m "chore: update Help.zip to ${{ github.action_repository }}@${{ github.sha }}" + git push origin dev + fi \ No newline at end of file From 83586553e94db05c068515f4d2d7b338f9f550b1 Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sun, 24 Aug 2025 19:12:36 +0800 Subject: [PATCH 21/22] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20pack.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 3ad4acd9..b13f69ff 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -42,6 +42,6 @@ jobs: run: | git config user.name "PCL-Community-Bot" git config user.email "167983016+PCL-Community-Bot@users.noreply.github.com" - git commit -S -a -m "chore: update Help.zip to ${{ github.action_repository }}@${{ github.sha }}" + git commit -S -a -m "chore: update Help.zip to ${{ github.ACTION_REPOSITORY }}@${{ github.sha }}" git push origin dev fi \ No newline at end of file From a33db839cd6d3c15b2936f13403f8612848eba02 Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sun, 24 Aug 2025 19:17:14 +0800 Subject: [PATCH 22/22] Update .github/workflows/pack.yml --- .github/workflows/pack.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index b13f69ff..e83585ca 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -38,10 +38,9 @@ jobs: git_user_signingkey: true git_commit_gpgsign: true - - name: Update submodule + - name: Update Help.zip run: | - git config user.name "PCL-Community-Bot" - git config user.email "167983016+PCL-Community-Bot@users.noreply.github.com" - git commit -S -a -m "chore: update Help.zip to ${{ github.ACTION_REPOSITORY }}@${{ github.sha }}" - git push origin dev - fi \ No newline at end of file + git config user.name "PCL-Community-Bot" + git config user.email "167983016+PCL-Community-Bot@users.noreply.github.com" + git commit -S -a -m "chore: update Help.zip to ${{ github.ACTION_REPOSITORY }}@${{ github.sha }}" + git push origin dev \ No newline at end of file