更新 GitHub Actions 工作流,将提交日志步骤重命名并添加新的提交日志输出
Some checks are pending
/ test-timezone (push) Waiting to run
/ docker-run (push) Successful in -32s
/ git-log (push) Successful in -30s
/ hashFiles (push) Successful in -7s
/ go-hashfiles (push) Successful in -18s
/ opt_hostedtoolcache (push) Successful in -32s
/ Cache-Java-Test (push) Successful in -5s
/ job1 (push) Successful in -6s
/ job3 (push) Has been skipped
/ job2 (push) Successful in -7s
Some checks are pending
/ test-timezone (push) Waiting to run
/ docker-run (push) Successful in -32s
/ git-log (push) Successful in -30s
/ hashFiles (push) Successful in -7s
/ go-hashfiles (push) Successful in -18s
/ opt_hostedtoolcache (push) Successful in -32s
/ Cache-Java-Test (push) Successful in -5s
/ job1 (push) Successful in -6s
/ job3 (push) Has been skipped
/ job2 (push) Successful in -7s
This commit is contained in:
4
.github/workflows/git-log.yaml
vendored
4
.github/workflows/git-log.yaml
vendored
@ -1,11 +1,13 @@
|
||||
on:
|
||||
push:
|
||||
jobs:
|
||||
docker-run:
|
||||
git-log:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 📥 检出代码
|
||||
uses: actions/checkout@main
|
||||
- name: 📝 提交日志
|
||||
run: git --no-pager log -5 --oneline
|
||||
- name: 📝 提交日志
|
||||
run: |
|
||||
git --no-pager log -5 --oneline --pretty=format:"%h - %an, %ar : %s"
|
Reference in New Issue
Block a user