-
感谢 P3TERX/Actions-OpenWrt和Lancenas/actions-openwrt-helloworld
-
修改流程触发条件。默认添加两种触发方式:
“Webhook
”(给 GitHub API 发送一个repository dispatch event
(仓库调度事件) 请求,当 API 接收到请求后就会触发相应的workflow
)
以下是一个使用cURL
发送请求的例子:
curl -X POST https://api.github.com/repos/:owner/:repo/dispatches \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Authorization: token ACTIONS_TRIGGER_TOKEN" \
--data '{"event_type": "TRIGGER_KEYWORDS"}'
需要要替换的值:
:owner
- 用户名
:repo
- 需要触发的 Github Action 所在的仓库名称
ACTIONS_TRIGGER_TOKEN
- 带有 repo 权限的 Personal access token
TRIGGER_KEYWORDS
- 自定义Webhook
事件名称,可以为任意值,Actions 列表中会显示此名称。
“Star
”(点击仓库上的Star
按钮即可触发GitHub Actions
的工作流程,为了避免被其他人点击Star
导致的不必要的麻烦,只有仓库所有者,也就是你自己点Star
才有效)。 -
在触发工作流程后,默认
SSH_ACTIONS: true
在 Actions 页面等待执行到SSH connection to Actions
步骤,会出现下面信息:
To connect to this session copy-n-paste the following into a terminal or browser:
ssh Y26QeagDtsPXp2mT6me5cnMRd@nyc1.tmate.io
https://tmate.io/t/Y26QeagDtsPXp2mT6me5cnMRd
-
复制 SSH 连接命令粘贴到终端内执行,或者复制链接在浏览器中打开使用网页终端,登陆云menuconfig。
-
命令:
cd handsomemod && make menuconfig
-
完成后按快捷键
Ctrl+D
或执行exit
命令退出,后续编译工作将自动进行。 -
这样比较灵活,可以通过云
menuconfig
自定义配置固件,不需要再导出.config
和上传
-
Notifications
You must be signed in to change notification settings - Fork 4
automatic build HandsomeMod firmware via github action
License
HandsomeYingyan/HandsomeMod-dl-ci
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
automatic build HandsomeMod firmware via github action
Resources
License
Stars
Watchers
Forks
Releases
No releases published