Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Detritalw authored Jan 17, 2025
1 parent 03a1485 commit 4f46ac9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit 4f46ac9

Please sign in to comment.