【文件属性】:
文件名称:actions:github动作编译脚本
文件大小:14KB
文件格式:ZIP
更新时间:2021-04-03 22:02:12
Shell
行动
github actions编译脚本,实现api调用不同的shell执行不同功能关注我的
运行轨迹
.github / workflows / blank.yml-> ./run.sh(此脚本选择最终脚本)-> script中最终脚本
通过api调用POST / repos /:owner /:repo / dispatches
# $user:用户名
# $password:token, setting-> Developer settings -> [set]workflow
# $repo:库名
# $shell:运行shell脚本
# $param:参数,json格式
curl -X POST -u " $user : $password " -H " Accept: application/vnd.github.everest-preview+json " \
【文件预览】:
actions-master
----LICENSE(11KB)
----.github()
--------workflows()
----README.md(2KB)
----run.sh(494B)
----script()
--------test.sh(353B)
--------openwrt.sh(897B)
--------socat.sh(453B)
--------xmrig.sh(841B)
--------vps.sh(1KB)
--------go.sh(471B)
--------ss.sh(2KB)
----tmp()
--------test.json(293B)
--------curlauto.sh(445B)
----ubuntu()
--------run.sh(1KB)
----macos()
--------run.sh(2KB)