修复publish
This commit is contained in:
parent
ab050f54d6
commit
a273cf9f3e
26
.github/workflows/publish.yml
vendored
26
.github/workflows/publish.yml
vendored
@ -37,20 +37,20 @@ jobs:
|
|||||||
pip install dist/*.whl
|
pip install dist/*.whl
|
||||||
python tests/build_exe.py
|
python tests/build_exe.py
|
||||||
|
|
||||||
- name: Create Executable
|
# - name: Create Executable
|
||||||
uses: sayyid5416/pyinstaller@v1
|
# uses: sayyid5416/pyinstaller@v1
|
||||||
with:
|
# with:
|
||||||
python_ver: '3.8'
|
# python_ver: '3.8'
|
||||||
requirements: '${{ github.workspace }}/requirements.txt'
|
# requirements: '${{ github.workspace }}/requirements.txt'
|
||||||
spec: 'dist/tmp.py'
|
# spec: 'dist/tmp.py'
|
||||||
upload_exe_with_name: 'pywxdump'
|
# upload_exe_with_name: 'pywxdump'
|
||||||
options: --onefile, --name "pywxdump", --windowed, --clean, --add-data "${{ github.workspace }}/pywxdump/version_list.json;pywxdump", --add-data "${{ github.workspace }}/pywxdump/show_chat/templates/chat.html;pywxdump/show_chat/templates", --add-data "${{ github.workspace }}/pywxdump/show_chat/templates/index.html;pywxdump/show_chat/templates",
|
# options: --onefile, --name "pywxdump", --windowed, --clean, --add-data "${{ github.workspace }}/pywxdump/version_list.json;pywxdump", --add-data "${{ github.workspace }}/pywxdump/show_chat/templates/chat.html;pywxdump/show_chat/templates", --add-data "${{ github.workspace }}/pywxdump/show_chat/templates/index.html;pywxdump/show_chat/templates",
|
||||||
is_uploaded: false
|
# is_uploaded: false
|
||||||
executable_path: 'dist'
|
# executable_path: 'dist'
|
||||||
|
|
||||||
# - name: Build Executable
|
- name: Build Executable
|
||||||
# run: |
|
run: |
|
||||||
# pyinstaller --onefile --clean --add-data "${{ github.workspace }}/pywxdump/version_list.json;pywxdump" --add-data "${{ github.workspace }}/pywxdump/show_chat/templates/chat.html;pywxdump/show_chat/templates" --add-data "${{ github.workspace }}/pywxdump/show_chat/templates/index.html;pywxdump/show_chat/templates" --distpath=dist --name=pywxdump dist/tmp.py
|
pyinstaller --onefile --clean --add-data "${{ github.workspace }}/pywxdump/version_list.json;pywxdump" --add-data "${{ github.workspace }}/pywxdump/show_chat/templates/chat.html;pywxdump/show_chat/templates" --add-data "${{ github.workspace }}/pywxdump/show_chat/templates/index.html;pywxdump/show_chat/templates" --distpath=dist --name=pywxdump dist/tmp.py
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user