-
Notifications
You must be signed in to change notification settings - Fork 448
/
Copy pathProgram.cs
39 lines (36 loc) · 1.39 KB
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using System.Linq;
using System.Net;
using static Build.BuildSteps;
namespace Build
{
class Program
{
static void Main(string[] args)
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
Orchestrator
.CreateForTarget(args)
.Then(TestSignedArtifacts, skip: !args.Contains("--signTest"))
.Then(Clean)
.Then(LogIntoAzure, skip: !args.Contains("--ci"))
.Then(UpdatePackageVersionForIntegrationTests, skip: !args.Contains("--integrationTests"))
.Then(RestorePackages)
.Then(ReplaceTelemetryInstrumentationKey, skip: !args.Contains("--ci"))
.Then(DotnetPublishForZips)
.Then(FilterPowershellRuntimes)
.Then(FilterPythonRuntimes)
.Then(AddDistLib)
.Then(AddTemplatesNupkgs)
.Then(AddTemplatesJson)
.Then(AddGoZip)
.Then(TestPreSignedArtifacts, skip: !args.Contains("--ci"))
.Then(CopyBinariesToSign, skip: !args.Contains("--ci"))
.Then(Test)
.Then(Zip)
.Then(DotnetPublishForNupkg)
.Then(DotnetPack)
.Then(CreateIntegrationTestsBuildManifest, skip: !args.Contains("--integrationTests"))
.Run();
}
}
}