ci: 优化 GitHub Actions 工作流日志输出

- 添加 Logging 步骤,输出更多调试信息
- 打印 GitHub Event 的 JSON 数据
- 输出最新提交的 Commit 信息
This commit is contained in:
严浩
2025-09-01 12:44:52 +08:00
parent 4ebd383dfe
commit cb5b013b44

View File

@@ -23,3 +23,8 @@ jobs:
echo "仓库Clone URL: ${{ github.event.repository.clone_url }}"
echo "仓库SSH URL: ${{ github.event.repository.ssh_url }}"
echo "仓库Git URL: ${{ github.event.repository.git_url }}"
- name: Logging
run: |
echo "${{toJSON(github.event)}}"
echo "${{ github.event.head_commit.message }}"
echo "---"