From 4f46ac90499b7fd31f80c34ca53cbded9b565b28 Mon Sep 17 00:00:00 2001 From: Detrital Date: Fri, 17 Jan 2025 12:06:09 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c2d4ddd..2c575a2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,17 +33,16 @@ jobs: - name: 使用 PyInstaller 打包 run: pyinstaller --onefile --noconsole --icon=icons/bloret.png --name=Bloret-Launcher main.py - - name: 创建 zip 包含其他文件夹 + - name: 创建包含其他文件夹的目录 run: | mkdir -p output cp dist/Bloret-Launcher.exe output/ cp -r cmcl/ output/ cp -r icons/ output/ cp -r ui/ output/ - powershell Compress-Archive -Path output/* -DestinationPath Bloret-Launcher.zip - name: 上传构建产物 uses: actions/upload-artifact@v4 with: name: Bloret-Launcher - path: Bloret-Launcher.zip + path: output/