ci: 启用Gitea Actions的调试输出
Some checks failed
Build and Deploy Dao OS Docs / build-and-deploy (push) Failing after 7m57s
Some checks failed
Build and Deploy Dao OS Docs / build-and-deploy (push) Failing after 7m57s
在构建和部署文档的工作流中添加环境变量,以启用Actions步骤和Runner的调试输出,便于排查问题
This commit is contained in:
@@ -8,6 +8,9 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
runs-on: ubuntu-latest # 或者你的 Gitea Actions 运行器
|
runs-on: ubuntu-latest # 或者你的 Gitea Actions 运行器
|
||||||
|
env: # 在 Job 级别设置环境变量
|
||||||
|
ACTIONS_STEP_DEBUG: true # 启用 Actions 步骤的调试输出
|
||||||
|
ACTIONS_RUNNER_DEBUG: true # 启用 Runner 的调试输出
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4 # 使用最新的 checkout action
|
uses: actions/checkout@v4 # 使用最新的 checkout action
|
||||||
|
|||||||
Reference in New Issue
Block a user