将文件打包zip,自动发布
This commit is contained in:
parent
4e209ece2f
commit
a7ac687547
12
.github/workflows/publish.yml
vendored
12
.github/workflows/publish.yml
vendored
@ -82,6 +82,10 @@ jobs:
|
|||||||
Compress-Archive -Path PyWxDump/dist/*.exe,PyWxDump/dist/*.whl -DestinationPath exe_whl.zip
|
Compress-Archive -Path PyWxDump/dist/*.exe,PyWxDump/dist/*.whl -DestinationPath exe_whl.zip
|
||||||
Compress-Archive -Path PyWxDump.zip,wxdump_web.zip -DestinationPath Source.zip
|
Compress-Archive -Path PyWxDump.zip,wxdump_web.zip -DestinationPath Source.zip
|
||||||
ls
|
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
|
- name: Publish package with Twine # 使用 Twine 发布到 PyPI
|
||||||
run: |
|
run: |
|
||||||
@ -103,7 +107,7 @@ jobs:
|
|||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
files: |
|
files: |
|
||||||
PyWxDump/dist/*.exe
|
dist/*.exe
|
||||||
PyWxDump/dist/*.whl
|
dist/*.whl
|
||||||
exe_whl.zip
|
dist/exe_whl.zip
|
||||||
Source.zip
|
dist/Source.zip
|
Loading…
Reference in New Issue
Block a user