PCL2
PCL2 copied to clipboard
让工作流编译支持替换 client_id 和 x-api-key
替换需要前往 https://github.com/{你的GitHubID}/{你的PCL2Repo的名称}/settings/secrets/actions/new 添加 Secret,分别为 client_id (#3940 微软登录所使用的) 和 x_api_key (CurseForge API 用的 API Key,因为 Secrets 名称符号只能用下划线,才从 x-api-key 改为 x_api_key)。
等待 #3940
等待 #3940
目前直接合并不会出问题,在替换时没找到目标替换不会报错…… 总之这个功能应该是越早推出越好。
@LTCatt
等 #3940 先,这个功能就算合并了现在也没用
等 #3940 先,这个功能就算合并了现在也没用
对你没用 ≠ 对别人没用
别急,到时候 #3940 完了这里指不定还得改呢……
@3gf8jv4dv What does it look like (
Overall good, but some
Warningcontent will appear when GHA is running. This type of content appears inCreate ReleaseandUpload Release AssetWarning: The
set-outputcommand is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Because GitHub no longer maintains the Release repository.I will replace it.
我尚不确定这样的secret实现是否大丈夫,但看起来还行。 回声洞有考虑在内吗?
回声洞有考虑在内吗?
?
我尚不确定这样的secret实现是否大丈夫,但看起来还行。 回声洞有考虑在内吗?
回声洞怎么可能做成 env 太草了
Any progress? :eyes:
回声洞有考虑在内吗?
Umm... In the open-source variant on GitHub, Echo Hole will only show 为便于维护,开源内容中不包含百宝箱功能……
回家再修=。=
突然感觉发布 Release 没必要……?
应该确实用不到发布 Release 功能……
Breaking changes: X_API_KEY -> CURSEFORGE_API_KEY
If someone pulls the latest code, then the repository secret needs to be changed.
友情提示一下,Actions 是有限制时长的,超了只能等下个月。
友情提示一下,Actions 是有限制时长的,超了只能等下个月。
?公开仓库中 actions 无限时长免费用 如果你试过就知道其实在公开仓库中使用 actions 是不消耗每个月 2000 分钟的时长的
截图
免费时长而已。
免费时长而已。
不信可以自己试试,在公开仓库中使用 actions 是不消耗每个月的免费时长的 只有在 private 仓库中才会消耗
图片
将支持替换 CommitHash 并输出到日志开头。