Skip to content

Commit b45e7c2

Browse files
committed
Setup upx
Signed-off-by: Prabhu Subramanian <[email protected]>
1 parent 44d941e commit b45e7c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/native-builds.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ jobs:
6767
run: |
6868
pushd thirdparty/trivy
6969
make build/linuxmusl_amd64
70+
sudo chown -R $USER:$USER build/
7071
upx -9 --lzma ./build/trivy-cdxgen-linuxmusl-amd64
7172
popd
72-
sudo chown -R $USER:$USER thirdparty/trivy/build/
7373
mkdir -p uploads
7474
cp thirdparty/trivy/build/trivy* uploads/
7575
cp thirdparty/sourcekitten/SourceKitten/.build/release/sourcekitten uploads/
@@ -86,9 +86,9 @@ jobs:
8686
run: |
8787
pushd thirdparty/trivy
8888
make build/linuxmusl_arm64
89+
sudo chown -R $USER:$USER build/
8990
upx -9 --lzma ./build/trivy-cdxgen-linuxmusl-arm64
9091
popd
91-
sudo chown -R $USER:$USER thirdparty/trivy/build/
9292
mkdir -p uploads
9393
cp thirdparty/trivy/build/trivy* uploads/
9494
cp thirdparty/sourcekitten/SourceKitten/.build/release/sourcekitten uploads/

0 commit comments

Comments
 (0)