build fix
This commit is contained in:
parent
e4891cfd53
commit
d5a3eb5157
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
run: pyinstaller packaging/windows.spec --noconfirm
|
run: pyinstaller packaging/windows.spec --noconfirm
|
||||||
|
|
||||||
- name: Save UPX build copy
|
- 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
|
- name: Build EXE without UPX
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
@ -50,19 +50,13 @@ jobs:
|
||||||
pyinstaller $specOut --noconfirm --clean
|
pyinstaller $specOut --noconfirm --clean
|
||||||
Remove-Item $specOut -Force
|
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
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: TgWsProxy
|
name: TgWsProxy
|
||||||
path: |
|
path: |
|
||||||
dist/TgWsProxy.exe
|
dist/TgWsProxy.exe
|
||||||
dist/TgWsProxy-no-upx.exe
|
dist/TgWsProxy-compressed.exe
|
||||||
|
|
||||||
build-win7:
|
build-win7:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
@ -118,8 +112,8 @@ jobs:
|
||||||
body: |
|
body: |
|
||||||
## TG WS Proxy ${{ github.event.inputs.version }}
|
## TG WS Proxy ${{ github.event.inputs.version }}
|
||||||
files: |
|
files: |
|
||||||
|
dist/TgWsProxy-compressed.exe
|
||||||
dist/TgWsProxy.exe
|
dist/TgWsProxy.exe
|
||||||
dist/TgWsProxy-unstripped.exe
|
|
||||||
dist/TgWsProxy-win7.exe
|
dist/TgWsProxy-win7.exe
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue