From a273cf9f3e90895b258f9ff34745b3b42c9f4fd9 Mon Sep 17 00:00:00 2001 From: xaoyo Date: Mon, 27 Nov 2023 12:58:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dpublish?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a1c23d2..6344959 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -37,20 +37,20 @@ jobs: pip install dist/*.whl python tests/build_exe.py - - name: Create Executable - uses: sayyid5416/pyinstaller@v1 - with: - python_ver: '3.8' - requirements: '${{ github.workspace }}/requirements.txt' - spec: 'dist/tmp.py' - 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", - is_uploaded: false - executable_path: 'dist' +# - name: Create Executable +# uses: sayyid5416/pyinstaller@v1 +# with: +# python_ver: '3.8' +# requirements: '${{ github.workspace }}/requirements.txt' +# spec: 'dist/tmp.py' +# 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", +# is_uploaded: false +# executable_path: 'dist' -# - name: Build Executable -# 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 + - name: Build Executable + 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 - name: test run: |