tangro-actions-template:用于创建GitHub Action的操作模板

时间:2024-04-05 07:28:58
【文件属性】:

文件名称:tangro-actions-template:用于创建GitHub Action的操作模板

文件大小:16KB

文件格式:ZIP

更新时间:2024-04-05 07:28:58

JavaScript

tangro-actions-template 一个用于tangro GitHub动作的GitHub动作模板。 它具有构建步骤,工作流程和一些预配置的依赖项。 使用这个模板 a)要么转到,然后单击“ b)或或,然后从“存储库模板”列表中选择tangro/tangro-action-template 。 创建自述文件 编写README.md , README.md在根目录内更改README.md 。 改为更改templates/README.md 。 每当您编写操作的名称时,请使用<%= name %>作为占位符。 它将替换为package.json的name 。 每次要引用操作的当前版本时,请使用<%= version %> 。 这样,自述文件中的示例将始终显示每个操作的最新版本。 要将动作的版本固定到特定版本时,不必使用占位符。 请不要忘记添加评论,为什么必须固定版本。 要运行脚


【文件预览】:
tangro-actions-template-master
----.github()
--------dependabot.yml(227B)
--------workflows()
----action.yml(214B)
----src()
--------main.ts(797B)
----scripts()
--------update-readme.js(2KB)
----tsconfig.json(6KB)
----LICENSE(1KB)
----.prettierrc(79B)
----README.md(4KB)
----.npmrc(45B)
----templates()
--------README.md(1KB)
----.gitignore(45B)
----package-lock.json(14KB)
----package.json(952B)

网友评论