From 70ad81f7bdbe1dbd6a11aa110935c27963973a9b Mon Sep 17 00:00:00 2001 From: "Sijie.Sun" Date: Wed, 5 Jun 2024 21:00:30 +0800 Subject: [PATCH] only upx on linux (#134) --- .github/workflows/core.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml index 3c5fb2b2..9f8e17c2 100644 --- a/.github/workflows/core.yml +++ b/.github/workflows/core.yml @@ -121,7 +121,7 @@ jobs: TAG=$GITHUB_SHA fi - if [[ ! $OS =~ ^macos.*$ ]]; then + if [[ $OS =~ ^ubuntu.*$ ]]; then upx --lzma --best ./target/$TARGET/release/easytier-core"$SUFFIX" upx --lzma --best ./target/$TARGET/release/easytier-cli"$SUFFIX" fi