-
-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
让工作流编译支持替换 client_id 和 x-api-key #4228
Conversation
等待 #3940 |
目前直接合并不会出问题,在替换时没找到目标替换不会报错…… |
等 #3940 先,这个功能就算合并了现在也没用 |
对你没用 ≠ 对别人没用 |
别急,到时候 #3940 完了这里指不定还得改呢…… |
@3gf8jv4dv What does it look like ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried the CurseForge API Key and it worked as expected. I may take advantage of this test #3940 later.
Overall good, but some Warning
content will appear when GHA is running. This type of content appears in Create Release
and Upload Release Asset
Warning: The
set-output
command 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. |
将支持替换 CommitHash 并输出到日志开头。 |
替换需要前往 https://github.com/{你的GitHubID}/{你的PCL2Repo的名称}/settings/secrets/actions/new 添加 Secret,分别为 CLIENT_ID (#3940 微软登录所使用的) 和 CURSEFORGE_API_KEY。