github - 如何定义 GitHub 操作?
问题描述
我正在尝试使用 GitHub 操作,但我很难让它开始。
作为第一步,我在一个全新的 repo 上复制了以下工作流程。 https://help.github.com/en/articles/creating-a-docker-container-action#example-using-a-private-action
但我得到一个解析错误
https://github.com/inforlife/action-test/blob/master/.github/main.workflow https://raw.githubusercontent.com/inforlife/action-test/master/.github/main.workflow?token =AA3RFK7OVCNLSMBMVHK6GB25SKZRQ
我在这里错过了什么吗?
解决方案
HCL 格式是 GitHub Actions 版本 1。此.github/main.workflow
版本不再有效。GitHub Actions 版本 2 在.github/workflows/
.
尝试从这些入门工作流程开始 https://github.com/actions/starter-workflows
推荐阅读
- azure - Azure Lighthouse 入职客户不在客户列表中
- ruby-on-rails - Rails 延迟的工作给出了禁止的错误?
- simulation - 如何计算边界上的拉普拉斯模板?
- image - 如何在从 QuPath 同时导出多个注释时添加注释标签?
- sybase - 如何在数据夹中使用打印
- android - android上markdown中的弹出消息
- android - 处理程序用 shadowOf(getMainLooper()).idle() 消息打破了我的 Robolectric 测试
- python - 将参数从测试函数或夹具传递到参数化夹具
- python - Opencv getperspective 变换逆
- c - 使用字符指针,在while循环中为NULL