Skip to content

Commit

Permalink
将文件打包zip,自动发布
Browse files Browse the repository at this point in the history
  • Loading branch information
xaoyaoo committed Jan 9, 2024
1 parent 4e209ec commit a7ac687
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ jobs:
Compress-Archive -Path PyWxDump/dist/*.exe,PyWxDump/dist/*.whl -DestinationPath exe_whl.zip
Compress-Archive -Path PyWxDump.zip,wxdump_web.zip -DestinationPath Source.zip
ls
cp exe_whl.zip PyWxDump/dist/exe_whl.zip
cp Source.zip PyWxDump/dist/Source.zip
ls PyWxDump/dist
cd PyWxDump
- name: Publish package with Twine # 使用 Twine 发布到 PyPI
run: |
Expand All @@ -103,7 +107,7 @@ jobs:
draft: false
prerelease: false
files: |
PyWxDump/dist/*.exe
PyWxDump/dist/*.whl
exe_whl.zip
Source.zip
dist/*.exe
dist/*.whl
dist/exe_whl.zip
dist/Source.zip

0 comments on commit a7ac687

Please sign in to comment.