test publish.yml
This commit is contained in:
parent
06c15137b2
commit
111accebc2
10
.github/workflows/publish.yml
vendored
10
.github/workflows/publish.yml
vendored
@ -37,12 +37,14 @@ jobs:
|
|||||||
python tests/build_exe.py
|
python tests/build_exe.py
|
||||||
|
|
||||||
- name: Get package path
|
- name: Get package path
|
||||||
shell: python -c "import site; print(site.getsitepackages()[1])"
|
|
||||||
id: get_package_path
|
id: get_package_path
|
||||||
|
run: |
|
||||||
|
echo "::set-output name=package_path::$(python -c "import site; print(site.getsitepackages()[1])")"
|
||||||
|
|
||||||
- name: Package with PyInstaller
|
- name: Package with PyInstaller
|
||||||
shell: |
|
run: |
|
||||||
pyinstaller --onefile --clean --add-data "{{ steps.get_package_path.outputs.stdout }}/pywxdump/version_list.json;pywxdump" --distpath=dist --workpath=build --specpath=build --name=pywxdump dist/tmp.py
|
pyinstaller --onefile --clean --add-data "${{ steps.get_package_path.outputs.package_path }}/pywxdump/version_list.json;pywxdump" --distpath=dist --workpath=build --specpath=build --name=pywxdump dist/tmp.py
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user