mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 18:01:26 +08:00
Merge pull request #914 from MaaAssistantArknights/dev
fix. 修复 CI 的一堆问题
This commit is contained in:
@@ -352,7 +352,7 @@ public partial class Build : NukeBuild
|
||||
}
|
||||
else
|
||||
{
|
||||
_changeLog += $"\n\n**Full Changelog**: [{Parameters.MainRepo}@{_latestTag} -> {Parameters.MainRepo}@{Parameters.GhTag}]https://github.com/{Parameters.MainRepo}/compare/{_latestTag}...{Parameters.GhTag}";
|
||||
_changeLog += $"\n\n**Full Changelog**: [{Parameters.MainRepo}@{_latestTag} -> {Parameters.MainRepo}@{Parameters.GhTag}](https://github.com/{Parameters.MainRepo}/compare/{_latestTag}...{Parameters.GhTag})";
|
||||
}
|
||||
});
|
||||
|
||||
@@ -402,6 +402,14 @@ public partial class Build : NukeBuild
|
||||
return;
|
||||
}
|
||||
|
||||
if (GitHubTasks.GitHubClient is null)
|
||||
{
|
||||
GitHubTasks.GitHubClient = new GitHubClient(new ProductHeaderValue(nameof(NukeBuild)))
|
||||
{
|
||||
Credentials = new Credentials(Parameters.GitHubPersonalAccessToken)
|
||||
};
|
||||
}
|
||||
|
||||
if (Parameters.GhActionName == ActionConfiguration.ReleaseMaa)
|
||||
{
|
||||
Information($"运行 ReleaseMaa 将在 {Parameters.MainRepo} 创建 Release {Parameters.GhTag}");
|
||||
|
||||
Reference in New Issue
Block a user