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 55 vmImage : ' windows-latest'
66
77variables :
8+ coreProjectName : ' Umbraco.Cms.Integrations.Crm.ActiveCampaign.Core'
89 projectName : ' Umbraco.Cms.Integrations.Crm.ActiveCampaign'
10+ coreProject : ' src/$(coreProjectName)/$(coreProjectName).csproj'
911 project : ' src/$(projectName)/$(projectName).csproj'
1012 buildPlatform : ' Any CPU'
1113 buildConfiguration : ' Release'
@@ -14,6 +16,30 @@ steps:
1416- task : NuGetToolInstaller@1
1517 displayName : ' Install NuGet'
1618
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+
1743- task : DotNetCoreCLI@2
1844 displayName : ' NuGet Restore'
1945 inputs :
You can’t perform that action at this time.
0 commit comments