Skip to content

Commit

Permalink
avoid error when compressing binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Oct 12, 2023
1 parent 2ebe3de commit 2904cc3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,11 @@ jobs:
elif [[ "$RUNNER_OS" == "Windows" ]]; then
rm -rf octave cuda_installer* bin/mcx.lib bin/mcx.exp
strip -S bin/*
upx/upx-4.0.2-win64/upx -9 bin/*
upx/upx-4.0.2-win64/upx -9 bin/* || true
rm -rf upx
else
strip bin/*
upx -9 bin/*
strip bin/mcx* || true
upx -9 bin/mcx* || true
fi
rm -rf .git .github mcxlab vsproj nsight mcxstudio src Makefile package icons genlog.sh .git* .travis* deploy icons filter mcxcloud pmcx pymcx winget inno Xcode*
- name: Zip mcx
Expand Down

0 comments on commit 2904cc3

Please sign in to comment.