From f90478e4260d5d559d029a025a842dda2a5147dd Mon Sep 17 00:00:00 2001 From: Ing Date: Fri, 22 Aug 2025 09:10:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BE=93=E5=87=BA=E5=80=BC?= =?UTF-8?q?=E7=9A=84=E8=BD=AC=E4=B9=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/issues.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml index 131ede63..88664089 100644 --- a/.github/workflows/issues.yml +++ b/.github/workflows/issues.yml @@ -29,7 +29,9 @@ jobs: # -*- coding: utf-8 -*- import json, subprocess def set_output(name, value): - subprocess.call(["echo '{}={}' >> $GITHUB_ENV".format(name, value)], shell=True) + subprocess.call(f'echo "{name}<> $GITHUB_ENV', shell=True) + subprocess.call(f'echo "{value}" >> $GITHUB_ENV', shell=True) + subprocess.call(f'echo "EOF" >> $GITHUB_ENV', shell=True) issuetitle = ${{ toJSON(github.event.issue.title) }} issuebody = ${{ toJSON(github.event.issue.body) }}