Skip to content

Commit d0b65e7

Browse files
author
spark
committed
ci: 更新获取 commit message 的命令
- 修复了获取 commit message 时的语法错误 - 使用 PowerShell 兼容的命令格式
1 parent f062306 commit d0b65e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
- name: Get commit message
3535
run: |
36-
commit_message=$(git log -1 --pretty=format:"# [%an %ad] # %s %b")
36+
$commit_message = & git log -1 --pretty=format:"# [%an %ad] # %s %b"
3737
echo "Commit message: $commit_message"
3838
3939
- name: Build wails

0 commit comments

Comments
 (0)