From a6e49e1d47de843bbef13c34f70c4d3fc1ca028d Mon Sep 17 00:00:00 2001 From: YHH <359807859@qq.com> Date: Thu, 16 Oct 2025 20:07:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dpublish-release=E4=B8=ADrelea?= =?UTF-8?q?se=5Fid=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release-editor.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-editor.yml b/.github/workflows/release-editor.yml index d90c2dcb..0701228d 100644 --- a/.github/workflows/release-editor.yml +++ b/.github/workflows/release-editor.yml @@ -101,11 +101,13 @@ jobs: steps: - name: Publish Release uses: actions/github-script@v7 + env: + RELEASE_ID: ${{ needs.create-release.outputs.release_id }} with: script: | github.rest.repos.updateRelease({ owner: context.repo.owner, repo: context.repo.repo, - release_id: ${{ needs.create-release.outputs.release_id }}, + release_id: process.env.RELEASE_ID, draft: false })