From 0089f01a6d79857248fcad78013b70c36a756c68 Mon Sep 17 00:00:00 2001 From: iorebuild Date: Thu, 10 Apr 2025 23:07:21 +0800 Subject: [PATCH] =?UTF-8?q?Release=20v1.3.0=20=E6=B5=8B=E8=AF=95=E6=A0=87?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/AutoRelease.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/AutoRelease.yaml b/.gitea/workflows/AutoRelease.yaml index 96599f6..eb96232 100644 --- a/.gitea/workflows/AutoRelease.yaml +++ b/.gitea/workflows/AutoRelease.yaml @@ -101,12 +101,13 @@ jobs: commit_message="${{ github.event.head_commit.message }}" title=$(echo "$commit_message" | cut -d ' ' -f 3-) if [ -z "$title" ]; then - echo "未在提交信息中找到 Release 标题。" - title="default_title" + echo "未在提交信息中找到 Release 标题。" + title="default_title" fi - echo "::set-output name=title::$title" >> $GITHUB_OUTPUT + # 使用新语法设置输出 + echo "title=$title" >> $GITHUB_OUTPUT - - name: 最终Release信息 + - name: 获取最终Release信息 run: | echo "Version = ${{ steps.extract_version.outputs.version }}" echo "Repo = ${{ github.server_url }}/${{ github.repository }}"