Releases: nenekodev/A-SOUL-Wecom-Notifier
2.0.4: Fix weibo log error
2.0.3: Fix weibo 403 forbidden
fixbug: readyToSend
2.0.2: Add Weibo fetch
Regulate the form of expression
2.0.1: Modular Components
Because the main thread is a loop, Github will forcibly terminate the task six hours after it starts (Github Action have schedule limits: you can not run continuously for more than 6 hours or at a frequency greater than once every 5 minutes), so it will return a failed info, which is normal.
you can set your own action.yml
by referring my settings:
https://github.com/nenekodev/A-SOUL-Wecom-Notifier/blob/main/.github/workflows/A-SOUL_BOT.yml
If you don't want to see this warning, you can set it up as a single run by using node ./ run --once -c config_template.js
and use an external trigger to fire it as often as you need (such as every minute):
- UPDATE: cron schedule may not start on time. A solution here: [zh-SC] https://zhuanlan.zhihu.com/p/379365305
由于主线程是循环的,Github 会在任务开始后六小时强行终止 workflow(Github Action 之 schedule 模式有运行时长最多 6 小时、运行间隔不得小于 5 分钟的限制),因此会返回一个运行失败的信息,这是正常的。
你可以尝试像我这样设置你的 action.yml
:
https://github.com/nenekodev/A-SOUL-Wecom-Notifier/blob/main/.github/workflows/A-SOUL_BOT.yml
如果你不想看到运行失败的消息,可以将其设置成单次运行 node ./ run --once -c config_template.js
,并使用外部的触发器按你所需要的间隔(如每分钟)触发一次即可:
- 注意:Github Action 自带之 cron schedule 功能恐不能准时启动。 你可以参照这篇文章来解决:https://zhuanlan.zhihu.com/p/379365305
1.0.2: Now Support Douyin and Douyin Live
Update A-SOUL_BOT-RunOnce.yml