File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 2222 packages : write
2323 steps :
2424 - uses : actions/checkout@v4
25+ - name : setup upx
26+ run : |
27+ wget https://github.com/upx/upx/releases/download/v5.0.1/upx-5.0.1-amd64_linux.tar.xz
28+ tar -xvf upx-5.0.1-amd64_linux.tar.xz
29+ chmod +x upx-5.0.1-amd64_linux/upx
30+ sudo cp upx-5.0.1-amd64_linux/upx /usr/local/bin/
31+ if : matrix.os == 'ubuntu-24.04'
32+ - name : setup upx
33+ run : |
34+ wget https://github.com/upx/upx/releases/download/v5.0.1/upx-5.0.1-arm64_linux.tar.xz
35+ tar -xvf upx-5.0.1-arm64_linux.tar.xz
36+ chmod +x upx-5.0.1-arm64_linux/upx
37+ sudo cp upx-5.0.1-arm64_linux/upx /usr/local/bin/
38+ if : matrix.os == 'ubuntu-24.04-arm'
2539 - name : Setup swift
2640 if : matrix.os == 'ubuntu-24.04' || matrix.os == 'ubuntu-24.04-arm'
2741 run : |
5367 run : |
5468 pushd thirdparty/trivy
5569 make build/linuxmusl_amd64
70+ upx -9 --lzma ./build/trivy-cdxgen-linuxmusl-amd64
5671 popd
5772 sudo chown -R $USER:$USER thirdparty/trivy/build/
5873 mkdir -p uploads
7186 run : |
7287 pushd thirdparty/trivy
7388 make build/linuxmusl_arm64
89+ upx -9 --lzma ./build/trivy-cdxgen-linuxmusl-arm64
7490 popd
7591 sudo chown -R $USER:$USER thirdparty/trivy/build/
7692 mkdir -p uploads
You can’t perform that action at this time.
0 commit comments