From 4f65d33cf3fb6f9c790b29e6ffb281edd3742da1 Mon Sep 17 00:00:00 2001 From: MSuMshk <2039814060@qq.com> Date: Wed, 3 Dec 2025 12:42:20 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E4=BF=AE=E5=A4=8D=20workflow=20python=20?= =?UTF-8?q?=E8=AF=AD=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci-cd.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 9dd470e..4de513e 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -68,12 +68,7 @@ jobs: SERVICES_LIST="${services[*]}" export SERVICES_LIST - SERVICES_JSON=$(python - <<'PY' -import json, os -raw = os.environ.get("SERVICES_LIST", "").split() -print(json.dumps(raw)) -PY -) + SERVICES_JSON=$(python -c "import json, os; print(json.dumps(os.environ.get('SERVICES_LIST','').split()))") echo "services=$SERVICES_JSON" >> "$GITHUB_OUTPUT" TAG=$(date +%Y%m%d%H%M%S)