pfaffman
(Jay Pfaffman)
1
我看到 discourse-plugin-skeleton 现在有了这个:
uses: discourse/.github/.github/workflows/discourse-plugin.yml@v1
这样我们就不用一直更新东西了。但是我的一个插件需要 subscriptions 插件,所以我想我还是需要把 discourse/discourse/.github/workflows 的东西复制到我的插件里,对吧?
我想不出有什么巧妙的方法可以让我的插件声明包含 subscriptions,对吧?
另外,它加载 stree 时失败了。我现在只是删除了 .stree.rc 文件。
4 个赞
pfaffman
(Jay Pfaffman)
2
我终于明白了。答案就在这里。解决方案是创建一个 about.json 文件,如下所示:
{ "tests": {
"requiredPlugins": [
"https://github.com/discourse/discourse-subscriptions"
]
}
}
现在我的测试又通过了!
我仍然不知道 stree 是什么。
既然我已经解决了这个问题,我对它的工作方式感到非常满意!
4 个赞
pfaffman
(Jay Pfaffman)
关闭
3
此主题在上次回复后 30 天自动关闭。不再允许回复。