Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Detritalw authored Feb 16, 2025
1 parent b50cbb7 commit 94e53dd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,25 +41,25 @@ jobs:
- name: 创建 zip 包含构建产物
run: |
cd output
zip -r Bloret-Launcher.zip Bloret-Launcher cmcl icons ui config.ini
zip -r Bloret-Launcher.zip Bloret-Launcher icons ui config.ini
- name: 上传构建产物 Bloret-Launcher.zip
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v2
with:
name: Bloret-Launcher.zip
path: output/Bloret-Launcher.zip

- name: 创建包含其他文件夹的目录
- name: 创建包含源码的目录
run: |
mkdir -p output
- name: 创建 zip 包含构建产物
- name: 创建 zip 包含源码
run: |
cd output
zip -r Bloret-Launcher-code.zip main.py cmcl icons ui config.ini
zip -r Bloret-Launcher-code.zip ../main.py ../cmcl ../icons ../ui ../config.ini
- name: 上传部分源码
uses: actions/upload-artifact@v4
- name: 上传源码 Bloret-Launcher-code.zip
uses: actions/upload-artifact@v2
with:
name: Bloret-Launcher-code.zip
path: output/Bloret-Launcher-code.zip

0 comments on commit 94e53dd

Please sign in to comment.