create GitHub Actions and publish GitHub Actions All In One
how to create your own GitHub Actions and publish it
- publish
GitHub Action
to Marketplace
YAML
.yml
https://github.com/xgqfrms/github-fe-oss-project-template/blob/main/action.yml
Make your Action discoverable on GitHub Marketplace and in GitHub search.
让您的 Action 在 GitHub Marketplace 和 GitHub 搜索中可被发现。
https://github.com/xgqfrms/github-fe-oss-project-template/releases/new?marketplace=true
⚠️ Improve your Action by adding labels for icon
and color
.
Icon
type
Color
blue
- use custom
GitHub Action
https://github.com/xgqfrms/github-fe-oss-project-template
https://github.com/marketplace/actions/github-fe-oss-project-template
test ok ✅
https://github.com/xgqfrms/github-fe-oss-project-template/actions/workflows/test.yml
Create a JavaScript Action using TypeScript
https://github.com/actions/typescript-action
https://github.com/actions/hello-world-javascript-action
https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action
https://www.thisdot.co/blog/creating-your-own-github-action-with-typescript
https://github.com/benchmark-action/github-action-benchmark
demo
https://github.com/benchmark-action/github-action-benchmark
https://benchmark-action.github.io/github-action-benchmark/dev/bench/
GitHub Actions Toolkit
The GitHub Actions ToolKit provides a set of packages to make creating actions easier.
$ npm install @actions/core
$ npm install @actions/exec
$ npm install @actions/glob
$ npm install @actions/http-client
$ npm install @actions/io
$ npm install @actions/tool-cache
$ npm install @actions/github
$ npm install @actions/artifact
$ npm install @actions/cache
https://github.com/actions/toolkit
auto create a commit every day
# schedule 定时任务
refs
https://gist.github.com/xgqfrms/dfeeb663a6c2ac0b5bf025db8b35c8da
©xgqfrms 2012-2020
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 ️,侵权必究⚠️!