更新 .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
ba371e90ab
commit
d8349b10f5
|
|
@ -29,11 +29,8 @@ jobs:
|
||||||
commit_body=$(git log -1 --pretty=format:"%b")
|
commit_body=$(git log -1 --pretty=format:"%b")
|
||||||
echo "Commit Title: $commit_title"
|
echo "Commit Title: $commit_title"
|
||||||
echo "Commit Body: $commit_body"
|
echo "Commit Body: $commit_body"
|
||||||
echo "作者名称: ${git log -1 --pretty=format:"%an"}"
|
commit_name=$(git log -1 --pretty=format:"%an")
|
||||||
echo "作者邮箱: ${git log -1 --pretty=format:"%ae"}"
|
echo "Commit name: $commit_name"
|
||||||
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 "🎉 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