File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 5
5
vmImage : ' windows-latest'
6
6
7
7
variables :
8
+ coreProjectName : ' Umbraco.Cms.Integrations.Crm.ActiveCampaign.Core'
8
9
projectName : ' Umbraco.Cms.Integrations.Crm.ActiveCampaign'
10
+ coreProject : ' src/$(coreProjectName)/$(coreProjectName).csproj'
9
11
project : ' src/$(projectName)/$(projectName).csproj'
10
12
buildPlatform : ' Any CPU'
11
13
buildConfiguration : ' Release'
@@ -14,6 +16,30 @@ steps:
14
16
- task : NuGetToolInstaller@1
15
17
displayName : ' Install NuGet'
16
18
19
+ - task : DotNetCoreCLI@2
20
+ displayName : ' NuGet Core Restore'
21
+ inputs :
22
+ command : ' restore'
23
+ feedsToUse : ' select'
24
+ projects : ' $(coreProject)'
25
+ includeNuGetOrg : true
26
+
27
+ - task : VSBuild@1
28
+ displayName : ' Build Project'
29
+ inputs :
30
+ solution : ' $(coreProject)'
31
+ msbuildArgs : ' /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactStagingDirectory)"'
32
+ platform : ' $(buildPlatform)'
33
+ configuration : ' $(buildConfiguration)'
34
+
35
+ - task : DotNetCoreCLI@2
36
+ displayName : ' Create Core NuGet Package'
37
+ inputs :
38
+ command : ' pack'
39
+ arguments : ' --configuration $(buildConfiguration)'
40
+ packagesToPack : ' $(coreProject)'
41
+ versioningScheme : ' off'
42
+
17
43
- task : DotNetCoreCLI@2
18
44
displayName : ' NuGet Restore'
19
45
inputs :
You can’t perform that action at this time.
0 commit comments