From 64c1b93b5b7fa77deb1603c46ea601ecb193d4d5 Mon Sep 17 00:00:00 2001 From: DevilXD <4180725+DevilXD@users.noreply.github.com> Date: Mon, 22 Sep 2025 22:23:38 +0200 Subject: [PATCH] Disable UPX downloading step in CI --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c134148..6d57992 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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