mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 02:55:38 +08:00
chore: 文件整理
This commit is contained in:
@@ -8,7 +8,6 @@ public class ActionConfiguration : Enumeration
|
||||
{
|
||||
public static readonly ActionConfiguration DevBuild = new() { Value = "dev-build" };
|
||||
public static readonly ActionConfiguration ReleaseMaa = new() { Value = "release-maa" };
|
||||
public static readonly ActionConfiguration ReleaseMaaResource = new() { Value = "release-maa-resource" };
|
||||
|
||||
public static implicit operator string(ActionConfiguration configuration)
|
||||
{
|
||||
@@ -19,7 +18,6 @@ public class ActionConfiguration : Enumeration
|
||||
{
|
||||
"dev-build" => DevBuild,
|
||||
"release-maa" => ReleaseMaa,
|
||||
"release-maa-resource" => ReleaseMaaResource,
|
||||
_ => null
|
||||
};
|
||||
}
|
||||
|
||||
@@ -224,13 +224,6 @@ public partial class Build
|
||||
Assert.True(GhTag is not null, "ReleaseMaa -> Auto Triggered,Tag 为 Null");
|
||||
Assert.True(GitHubPersonalAccessToken is not null, "ReleaseMaa -> Auto Triggered,PAT 为 Null");
|
||||
}
|
||||
|
||||
// 若是 ReleaseMaaResource,Branch 必须为 Master,PAT 必须存在
|
||||
if (GhActionName == ActionConfiguration.ReleaseMaaResource)
|
||||
{
|
||||
Assert.True(GhBranch == MasterBranch, "ReleaseMaaResource -> Auto Triggered,Branch 不为 master");
|
||||
Assert.True(GitHubPersonalAccessToken is not null, "ReleaseMaaResource -> Auto Triggered,PAT 为 Null");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,10 @@
|
||||
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=VariableHidesOuterVariable/@EntryIndexedValue">DO_NOT_SHOW</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=ClassNeverInstantiated_002EGlobal/@EntryIndexedValue">DO_NOT_SHOW</s:String>
|
||||
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=MemberCanBeMadeStatic_002ELocal/@EntryIndexedValue">DO_NOT_SHOW</s:String>
|
||||
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=builder/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=builder_005Cci/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=builder_005Chelper/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=builder_005Cjob/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/DEFAULT_INTERNAL_MODIFIER/@EntryValue">Implicit</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/DEFAULT_PRIVATE_MODIFIER/@EntryValue">Implicit</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/METHOD_OR_OPERATOR_BODY/@EntryValue">ExpressionBody</s:String>
|
||||
|
||||
Reference in New Issue
Block a user