更新 .gitea/workflows/demo.yaml
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 30s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 30s
Details
提交信息提取
This commit is contained in:
parent
33bee49d02
commit
ba371e90ab
|
|
@ -29,6 +29,11 @@ jobs:
|
|||
commit_body=$(git log -1 --pretty=format:"%b")
|
||||
echo "Commit Title: $commit_title"
|
||||
echo "Commit Body: $commit_body"
|
||||
echo "作者名称: ${git log -1 --pretty=format:"%an"}"
|
||||
echo "作者邮箱: ${git log -1 --pretty=format:"%ae"}"
|
||||
echo "作者提交时间: ${git log -1 --pretty=format:"%ci"}"
|
||||
echo "提交时长: ${git log -1 --pretty=format:"%cr"}"
|
||||
echo "提交hash: ${git log -1 --pretty=format:"%H"}"
|
||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||
|
|
|
|||
Loading…
Reference in New Issue