mirror of
https://github.com/ArvinLovegood/go-stock.git
synced 2025-07-19 00:00:09 +08:00
ci: 更新获取 commit message 的命令
- 修复了获取 commit message 时的语法错误 - 使用 PowerShell 兼容的命令格式
This commit is contained in:
parent
f062306158
commit
d0b65e7063
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user