更新 .gitea/workflows/demo.yaml
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 39s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 39s
Details
获取测试信息
This commit is contained in:
parent
d8349b10f5
commit
26ed04593c
|
|
@ -31,6 +31,12 @@ jobs:
|
||||||
echo "Commit Body: $commit_body"
|
echo "Commit Body: $commit_body"
|
||||||
commit_name=$(git log -1 --pretty=format:"%an")
|
commit_name=$(git log -1 --pretty=format:"%an")
|
||||||
echo "Commit name: $commit_name"
|
echo "Commit name: $commit_name"
|
||||||
|
commit_email=$(git log -1 --pretty=format:"%ae")
|
||||||
|
echo "作者邮箱: $commit_email"
|
||||||
|
commit_date=$(git log -1 --pretty=format:"%ci")
|
||||||
|
echo "作者提交时间: $commit_date"
|
||||||
|
commit_durl=$(git log -1 --pretty=format:"%cr")
|
||||||
|
echo "提交时长: $commit_durl"
|
||||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
- 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 "🐧 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 }}."
|
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue