From df2cc61c2716f588d09f22b362f3220a0620201d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=85=95=E8=BD=BB=E9=9B=AA?= <3894593384@qq.com> Date: Thu, 6 Feb 2025 22:39:44 +0800 Subject: [PATCH] Add Description --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6967090..638bfeb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,12 +38,19 @@ jobs: - name: Update Help run: | + # 切换到上一级目录,免得混在一起 Set-Location .. + # 检出远程仓库的 master 分支 git clone https://github.com/LTCatt/PCL2Help.git -b master + # 切换到帮助库的目录 Set-Location PCL2Help + # 删掉无用的文件 Remove-Item -Path *.* -Recurse -Force + # 压缩 Compress-Archive -Path .\* -DestinationPath .\Help.zip + # 覆盖文件 Copy-Item -Path .\Help.zip -Destination "..\PCL2\Plain Craft Launcher 2\Resources\Help.zip" -Force + # 切换到原来的目录进行编译 Set-Location ..\PCL2 @@ -55,7 +62,7 @@ jobs: - name: Build run: msbuild "Plain Craft Launcher 2\Plain Craft Launcher 2.vbproj" -p:Configuration=${{ matrix.configuration }} - + - name: Upload a Build Artifact uses: actions/upload-artifact@v4 with: