Disable UPX downloading step in CI

This commit is contained in:
DevilXD
2025-09-22 22:23:38 +02:00
parent 134783eba7
commit 64c1b93b5b

View File

@@ -9,6 +9,7 @@ on:
env:
PYTHON_VERSION: "3.10"
USE_UPX: false
jobs:
validate:
@@ -72,7 +73,10 @@ jobs:
python3 -m pip install wheel
python3 -m pip install -r requirements.txt
# TODO: Consider using https://github.com/crazy-max/ghaction-upx
# or some other way of keeping the download link up to date in the future
- name: Install UPX
if: env.USE_UPX == 'true'
run: |
Invoke-WebRequest -Uri https://github.com/upx/upx/releases/download/v5.0.2/upx-5.0.2-win64.zip -OutFile (Join-Path $env:Temp upx.zip)
Expand-Archive -LiteralPath (Join-Path $env:Temp upx.zip) -DestinationPath $env:Temp