修正windows构建

This commit is contained in:
lkhsss
2025-08-26 12:28:32 +08:00
parent 0565f11fbb
commit 968df4133b

View File

@ -133,7 +133,7 @@ jobs:
name=$bin-$version-$target name=$bin-$version-$target
executable=target/$target/release/$bin executable=target/$target/release/$bin
if [[ "$RUNNER_OS" == "Windows" || "$RUNNER_OS" == "Linux" ]]; then if [[ "$RUNNER_OS" == "Windows" || "$RUNNER_OS" == "Linux" ]]; then
upx --ultra-brute $executable upx --ultra-brute $executable.exe
fi fi
if [[ "$RUNNER_OS" == "Windows" ]]; then if [[ "$RUNNER_OS" == "Windows" ]]; then
executable=$executable.exe executable=$executable.exe