From d87878c23209aa1b9a911056727cb9f9d2585c1a Mon Sep 17 00:00:00 2001 From: Andy Hsu Date: Thu, 9 Feb 2023 20:05:00 +0800 Subject: [PATCH] ci: cancel `win/arm64` on dev build [skip ci] --- build.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 7c780bd1239..73f6ebde7af 100644 --- a/build.sh +++ b/build.sh @@ -52,7 +52,6 @@ BuildWinArm64() { BuildDev() { rm -rf .git/ - BuildWinArm64 ./alist-windows-arm64.exe xgo -targets=linux/amd64,windows/amd64,darwin/amd64 -out "$appName" -ldflags="$ldflags" -tags=jsoniter . mkdir -p "dist" mv alist-* dist @@ -94,7 +93,7 @@ BuildRelease() { xgo -out "$appName" -ldflags="$ldflags" -tags=jsoniter . # why? Because some target platforms seem to have issues with upx compression upx -9 ./alist-linux-amd64 - upx -9 ./alist-windows* + upx -9 ./alist-windows-amd64.exe mv alist-* build }