From e6c735c9879f933f5899407b3a0a3cec92322080 Mon Sep 17 00:00:00 2001 From: qicfan Date: Mon, 16 Dec 2024 20:28:44 +0800 Subject: [PATCH] Update pyinstall-win.yml --- .github/workflows/pyinstall-win.yml | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/.github/workflows/pyinstall-win.yml b/.github/workflows/pyinstall-win.yml index 2ec9e3d..35f0573 100644 --- a/.github/workflows/pyinstall-win.yml +++ b/.github/workflows/pyinstall-win.yml @@ -40,13 +40,6 @@ jobs: pyinstaller ${{ env.MAIN_PY_FILE }} working-directory: ./ - - name: Create Artifact (Windows) - if: matrix.os == 'windows-latest' - uses: actions/upload-artifact@v3 - with: - name: windows-executables - path: dist/ - - name: Zip the app (Windows) if: matrix.os == 'windows-latest' uses: vimtor/action-zip@v1.2 @@ -58,15 +51,9 @@ jobs: if: matrix.os == 'windows-latest' with: name: windows app - path: dist/linux-x86.zip - - - name: Create Artifact (Linux) - if: matrix.os == 'ubuntu-latest' - uses: actions/upload-artifact@v3 - with: - name: linux-executables - path: dist/ - - name: Zip the app (Windows) + path: dist/windows-x86.zip + + - name: Zip the app (Linux) if: matrix.os == 'ubuntu-latest' uses: vimtor/action-zip@v1.2 with: @@ -79,9 +66,6 @@ jobs: name: linux app path: dist/linux-x86.zip - - name: List files in dist folder - run: ls -R ./dist/ - # - name: create release # id: create_release # uses: actions/create-release@v1