更新 GitHub Actions 工作流以简化最近5次提交日志的输出格式
Some checks are pending
/ test-timezone (push) Waiting to run
/ docker-run (push) Successful in -30s
/ hashFiles (push) Successful in -6s
/ go-hashfiles (push) Successful in -19s
/ Cache-Java-Test (push) Successful in -5s
/ opt_hostedtoolcache (push) Successful in -32s
/ job2 (push) Successful in -7s
/ job1 (push) Successful in -7s
/ job3 (push) Has been skipped

This commit is contained in:
严浩
2025-02-21 16:16:24 +08:00
parent b76ff4f3fc
commit 5b0f480d3d

View File

@ -8,4 +8,4 @@ jobs:
uses: actions/checkout@main
- name: 📝 最近5次提交日志
run: |
git log -5 --pretty=format:"%h - %an, %ar : %s"
git --no-pager log -5 --oneline