@action-badges/core 中文文档教程
action-badges/core
使用 Github Actions
操作徽章允许您创建自定义徽章使用 github 操作并将它们托管在您自己的 github 存储库中。
与 shields.io 和 badgen.net 等中心化服务不同, action badges 可用于:
- Generate badges using content in private repositories without hosting and maintaining your own instance of shields or badgen
- Make badges that need private tokens or secrets to generate the content
- Make badges that are slow to compute or rely on data that is not available from a HTTP API
- Generate badges without contacting any external services: compute is handled by github actions, badges are stored in github repo
有两种使用 action-badges/core 的方法。 它可以直接用作 yaml 工作流/复合操作中的 Github 操作,或用作 NPM 库来创建可重用的 javascript 操作。
https://github.com/action-badges/examples 包含一些示例,展示了如何使用多种不同的方法生成动作徽章。
action-badges/core
Serverless badge generation with Github Actions
Action badges allows you to create custom badges using github actions and host them in your own github repo.
Unlike centralized services like shields.io and badgen.net, action badges can be used to:
- Generate badges using content in private repositories without hosting and maintaining your own instance of shields or badgen
- Make badges that need private tokens or secrets to generate the content
- Make badges that are slow to compute or rely on data that is not available from a HTTP API
- Generate badges without contacting any external services: compute is handled by github actions, badges are stored in github repo
There are two ways to use action-badges/core. It can be used directly as a Github Action in yaml workflows/composite actions or as an NPM library to create re-usable javascript actions.
https://github.com/action-badges/examples contains some examples showing how to generate action badges using a number of different methods.
你可能也喜欢
- @01/as-virtual-code 中文文档教程
- @13w/soap 中文文档教程
- @20i/use-roving-tabindex-a11y 中文文档教程
- @360bid/ebid-svga 中文文档教程
- @4geit/rct-chatbox-grid-component 中文文档教程
- @a-rui/uitls 中文文档教程
- @aaa-backend-stack/test-environment 中文文档教程
- @aaa3032/executor-of-cmd-commands 中文文档教程
- @abaplint/cli 中文文档教程
- @abhilashmalhotra/react-component-lib 中文文档教程