Skip to content

Commit

Permalink
修复打包
Browse files Browse the repository at this point in the history
  • Loading branch information
ok-oldking committed Sep 20, 2024
1 parent 8c71c69 commit 6dcec04
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 @@ -43,21 +43,21 @@ jobs:
python -m ok.update.package_launcher ${{ steps.tagName.outputs.tag }}
python -m ok.update.gen_md5 .\dist
Move-Item -Path "dist" -Destination "ok-ww"
Copy-Item -Path "dist" -Destination "ok-ww" -Recurse
7z a -t7z -r "ok-ww-release-${{ steps.tagName.outputs.tag }}.7z" "ok-ww"
7z a -tzip -r "ok-ww-${{ steps.tagName.outputs.tag }}.zip" "ok-ww"
Remove-Item -Path "ok-ww" -Recurse -Force
python -m ok.update.package_full_with_profile ${{ steps.tagName.outputs.tag }} 1
python -m ok.update.gen_md5 .\dist
Copy-Item -Path "dist" -Destination "ok-ww" -Recurse
7z a -t7z -r "ok-ww-CPU-full-${{ steps.tagName.outputs.tag }}.7z" "ok-ww"
python -m ok.update.package_full_with_profile ${{ steps.tagName.outputs.tag }} 0
python -m ok.update.gen_md5 .\dist
Move-Item -Path "dist" -Destination "ok-ww"
Copy-Item -Path "dist" -Destination "ok-ww" -Recurse
7z a -t7z -r "ok-ww-Nvidia-GPU-full-${{ steps.tagName.outputs.tag }}.7z" "ok-ww"
Remove-Item -Path "ok-ww" -Recurse -Force
python -m ok.update.package_full_with_profile ${{ steps.tagName.outputs.tag }} 1
python -m ok.update.gen_md5 .\dist
Move-Item -Path "dist" -Destination "ok-ww"
7z a -t7z -r "ok-ww-CPU-full-${{ steps.tagName.outputs.tag }}.7z" "ok-ww"
shell: pwsh

Expand Down

0 comments on commit 6dcec04

Please sign in to comment.