Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 48f0ea0

Browse files
committed
Build for VS Marketplace and VS Installer
Use a matrix build strategy.
1 parent f6959d1 commit 48f0ea0

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

azure-pipelines.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
pool:
77
vmImage: 'windows-latest'
88

9+
strategy:
10+
matrix:
11+
VSMarketplace:
12+
IsProductComponent: false
13+
VSInstaller:
14+
IsProductComponent: true
15+
916
variables:
1017
githubvsSolution: 'GitHubVS.sln'
1118
essentialsSolution: 'src\GitHub.VisualStudio.16.sln'
@@ -48,7 +55,7 @@ steps:
4855
platform: '$(buildPlatform)'
4956
configuration: '$(buildConfiguration)'
5057
msbuildVersion: '16.0'
51-
msbuildArguments: '/property:DeployExtension=False;GitHubVS_ClientId=$(GitHubVS_ClientId);GitHubVS_ClientSecret=$(GitHubVS_ClientSecret)'
58+
msbuildArguments: '/property:IsProductComponent=$(IsProductComponent);DeployExtension=False;GitHubVS_ClientId=$(GitHubVS_ClientId);GitHubVS_ClientSecret=$(GitHubVS_ClientSecret)'
5259

5360
- task: MSBuild@1
5461
displayName: GitHub Essentials
@@ -57,7 +64,7 @@ steps:
5764
platform: '$(buildPlatform)'
5865
configuration: '$(buildConfiguration)'
5966
msbuildVersion: '16.0'
60-
msbuildArguments: '/property:DeployExtension=False'
67+
msbuildArguments: '/property:IsProductComponent=$(IsProductComponent);DeployExtension=False'
6168

6269
- task: VSTest@2
6370
inputs:

0 commit comments

Comments
 (0)