From 97ab29259aea07adf96ab57663f47404a0b73802 Mon Sep 17 00:00:00 2001 From: spark Date: Sat, 8 Feb 2025 16:30:54 +0800 Subject: [PATCH] =?UTF-8?q?ci:=E7=B2=BE=E7=AE=80=20commit=20message=20?= =?UTF-8?q?=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改了获取 commit message 的 git 命令,仅保留 commit 主题行 -移除了不必要的信息,如作者和日期 - 优化了输出格式,提高了可读性 --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 786f7b3..1861292 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,7 +34,7 @@ jobs: - name: Get commit message id: get_commit_message run: | - $commit_message = & git log -1 --pretty=format:"# [%an %ad] # %s %b" + $commit_message = & git log -1 --pretty=format:"%s" echo "::set-output name=commit_message::$commit_message" - name: Build wails