1 个内容
在 GitHub Actions 中,使用 `workflow_dispatch` 事件可手动触发工作流。在 YAML 文件中定义 `workflow_dispatch`,然后在 GitHub 仓库的 Actions 页面找到该工作流,点击 "Run workflow" 按钮即可触发。可选择定义 `inputs` 传递参数。触发后可在 Actions 页面查看运行日志。