From d0b65e706366d6d45de610a6555b5f181940edc4 Mon Sep 17 00:00:00 2001 From: spark Date: Sat, 8 Feb 2025 15:34:40 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=9B=B4=E6=96=B0=E8=8E=B7=E5=8F=96=20co?= =?UTF-8?q?mmit=20message=20=E7=9A=84=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复了获取 commit message 时的语法错误 - 使用 PowerShell 兼容的命令格式 --- .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 41ff950..7c168e7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,7 +33,7 @@ jobs: - name: Get commit message run: | - commit_message=$(git log -1 --pretty=format:"# [%an %ad] # %s %b") + $commit_message = & git log -1 --pretty=format:"# [%an %ad] # %s %b" echo "Commit message: $commit_message" - name: Build wails