From d5a3eb515715139d81cc41a206134638d6ffd995 Mon Sep 17 00:00:00 2001 From: Flowseal Date: Sun, 15 Mar 2026 05:06:16 +0300 Subject: [PATCH] build fix --- .github/workflows/build.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 692b56d..046208b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: run: pyinstaller packaging/windows.spec --noconfirm - name: Save UPX build copy - run: Copy-Item dist/TgWsProxy.exe dist/TgWsProxy-upx.exe -Force + run: Copy-Item dist/TgWsProxy.exe dist/TgWsProxy-compressed.exe -Force - name: Build EXE without UPX shell: pwsh @@ -50,19 +50,13 @@ jobs: pyinstaller $specOut --noconfirm --clean Remove-Item $specOut -Force - - name: Rename non-UPX artifact - run: Rename-Item -Path dist/TgWsProxy.exe -NewName TgWsProxy-no-upx.exe - - - name: Restore default artifact name - run: Copy-Item dist/TgWsProxy-upx.exe dist/TgWsProxy.exe -Force - - name: Upload artifact uses: actions/upload-artifact@v4 with: name: TgWsProxy path: | dist/TgWsProxy.exe - dist/TgWsProxy-no-upx.exe + dist/TgWsProxy-compressed.exe build-win7: runs-on: windows-latest @@ -118,8 +112,8 @@ jobs: body: | ## TG WS Proxy ${{ github.event.inputs.version }} files: | + dist/TgWsProxy-compressed.exe dist/TgWsProxy.exe - dist/TgWsProxy-unstripped.exe dist/TgWsProxy-win7.exe draft: false prerelease: false