更新 GitHub Actions 工作流,修改提交日志输出格式以包含日期和时间
This commit is contained in:
7
.github/workflows/git-log.yaml
vendored
7
.github/workflows/git-log.yaml
vendored
@@ -8,11 +8,6 @@ jobs:
|
||||
uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: 5
|
||||
- name: 📝 提交日志
|
||||
run: git --no-pager log -5 --oneline
|
||||
- name: 📝 提交日志
|
||||
run: |
|
||||
git --no-pager log -5 --oneline --pretty=format:"%h - %an, %ar : %s"
|
||||
- name: 📝 提交日志
|
||||
run: |
|
||||
git --no-pager log -5 --pretty=format:"%h - %an, %ar : %s"
|
||||
git --no-pager log --pretty=format:"%h %ad %s" --date=format:'%Y-%m-%d %H:%M:%S'
|
Reference in New Issue
Block a user