test publish.yml
This commit is contained in:
1 parent
111accebc2
commit
b20aa876f2
1 file changed
+5
-6
@@ -36,15 +36,14 @@ jobs:
|
||||
python -m build
|
||||
python tests/build_exe.py
|
||||
|
||||
- name: Get package path
|
||||
id: get_package_path
|
||||
- name: test
|
||||
run: |
|
||||
echo "::set-output name=package_path::$(python -c "import site; print(site.getsitepackages()[1])")"
|
||||
echo ${{ github.workspace }}
|
||||
echo ${{ env.VERSION_LIST_PATH }}
|
||||
|
||||
- name: Package with PyInstaller
|
||||
- name: Build Executable
|
||||
run: |
|
||||
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
|
||||
|
||||
pyinstaller --onefile --clean --add-data "${{ github.workspace }}/${{ env.VERSION_LIST_PATH }};pywxdump" --distpath=dist --workpath=build --specpath=build --name=pywxdump ${{ github.workspace }}/dist/tmp.py
|
||||
|
||||
- name: test
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user