tldr/pages.zh/common/act.md

29 lines
357 B
Markdown
Raw Normal View History

# act
> 使用Docker本地运行GitHub Actions
> 更多信息: <https://github.com/nektos/act>.
- 列出可用的actions清单:
`act -l`
- 运行默认event:
`act`
- 运行指定event:
`act {{事件类型}}`
- 运行指定action:
`act -a {{action_id}}`
- 非实际运行actions (也就是dry-run模式):
`act -n`
- 展示详细记录:
`act -v`