Skip to content

Commit 918d456

Browse files
committed
优化 UPX 设置步骤,使用 curl 下载单个可执行文件,简化安装过程
1 parent 9847fd9 commit 918d456

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/package_and_release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ jobs:
2727

2828
- name: UPX Setup
2929
run: |
30-
curl -O https://github.com/upx/upx/releases/download/v5.0.1/upx-5.0.1-win64.zip
31-
unzip upx-5.0.1-win64.zip
32-
mv upx-5.0.1-win64 upx
30+
mkdir upx
31+
curl -o upx/upx.exe https://assets.ksable.top/github/upx/upx/v5.0.1/upx.exe
3332
3433
- name: Install dependencies
3534
run: |

0 commit comments

Comments
 (0)