diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 67b3a1e..9008fcc 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -31,6 +31,12 @@ jobs: echo "Commit Body: $commit_body" commit_name=$(git log -1 --pretty=format:"%an") 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 "🐧 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 }}."