Disable UPX downloading step in CI
This commit is contained in:
1 parent
134783eba7
commit
64c1b93b5b
1 file changed
+4
@@ -9,6 +9,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
PYTHON_VERSION: "3.10"
|
PYTHON_VERSION: "3.10"
|
||||||
|
USE_UPX: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
validate:
|
validate:
|
||||||
@@ -72,7 +73,10 @@ jobs:
|
|||||||
python3 -m pip install wheel
|
python3 -m pip install wheel
|
||||||
python3 -m pip install -r requirements.txt
|
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
|
- name: Install UPX
|
||||||
|
if: env.USE_UPX == 'true'
|
||||||
run: |
|
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)
|
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
|
Expand-Archive -LiteralPath (Join-Path $env:Temp upx.zip) -DestinationPath $env:Temp
|
||||||
|
|||||||
Reference in new issue
Block a user