chore: 禁用编译产物的压缩步骤
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
This commit is contained in:
@@ -100,9 +100,9 @@ steps:
|
||||
-ldflags "-s -w -buildid= -extldflags '-static'" \
|
||||
-o ./build/$BIN_NAME \
|
||||
./login
|
||||
- |
|
||||
strip ./build/$BIN_NAME
|
||||
upx --best --lzma ./build/$BIN_NAME
|
||||
# - |
|
||||
# strip ./build/$BIN_NAME
|
||||
# upx --best --lzma ./build/$BIN_NAME
|
||||
- |
|
||||
if [ ! -f ./build/$BIN_NAME ]; then
|
||||
echo "❌ 编译失败:产物$BIN_NAME不存在"
|
||||
|
||||
Reference in New Issue
Block a user