标题测试
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 17s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 17s
Details
提交详细信息
This commit is contained in:
parent
51637f1360
commit
bb7a9f3004
|
|
@ -23,6 +23,10 @@ jobs:
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
run: |
|
run: |
|
||||||
echo "提交的信息: ${{ github.event.head_commit.message }}"
|
echo "提交的信息: ${{ github.event.head_commit.message }}"
|
||||||
|
commit_title=$(git log -1 --pretty=format:"%s")
|
||||||
|
commit_body=$(git log -1 --pretty=format:"%b")
|
||||||
|
echo "Commit Title: $commit_title"
|
||||||
|
echo "Commit Body: $commit_body"
|
||||||
- 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