fix(workflow): fix the upx install
This commit is contained in:
parent
a760ee7d0d
commit
2ddd047994
1 changed files with 5 additions and 2 deletions
|
@ -21,8 +21,11 @@ jobs:
|
||||||
|
|
||||||
- name: Install UPX
|
- name: Install UPX
|
||||||
run: |
|
run: |
|
||||||
apt update
|
wget -O upx.tar.xz https://github.com/upx/upx/releases/download/v5.0.1/upx-5.0.1-amd64_linux.tar.xz
|
||||||
apt install -y upx-ucl
|
tar -xf upx.tar.xz
|
||||||
|
sudo cp upx-5.0.1-amd64_linux/upx /usr/local/bin/
|
||||||
|
sudo cp upx-5.0.1-amd64_linux/upx.1 /usr/local/share/man/man1/ || true
|
||||||
|
chmod +x /usr/local/bin/upx
|
||||||
|
|
||||||
- name: Build normal binary
|
- name: Build normal binary
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue