|
48 | 48 | condition: succeeded() |
49 | 49 | steps: |
50 | 50 |
|
51 | | - - task: PowerShell@2 |
52 | | - displayName: GetVersion .Desktop |
53 | | - inputs: |
54 | | - filePath: 'build\csproj-version-to-pipeline.ps1' |
55 | | - arguments: '$(patch) $(Build.SourcesDirectory)\src\Generator.Client.Desktop\Generator.Client.Desktop.csproj PackageVersion' |
56 | | - |
57 | | - - task: PowerShell@2 |
58 | | - displayName: GetVersion .CLI |
59 | | - inputs: |
60 | | - filePath: 'build\csproj-version-to-pipeline.ps1' |
61 | | - arguments: '$(patch) $(Build.SourcesDirectory)\src\Generator.Client.CommandLine\Generator.Client.CommandLine.csproj PackageVersionCLI' |
62 | | - |
63 | | - - task: NuGetToolInstaller@1 |
64 | | - enabled: false |
65 | | - inputs: |
66 | | - versionSpec: '4.x' |
67 | | - |
68 | | - - task: NuGetCommand@2 |
69 | | - enabled: false |
70 | | - inputs: |
71 | | - command: 'restore' |
72 | | - restoreSolution: '**/*.sln' |
73 | | - feedsToUse: 'select' |
74 | | - |
75 | | - - task: VSBuild@1 |
76 | | - enabled: false |
77 | | - inputs: |
78 | | - solution: '**\*.sln' |
79 | | - platform: '$(buildPlatform)' |
80 | | - configuration: '$(buildConfiguration)' |
81 | | - |
82 | | - - task: VSTest@2 |
83 | | - enabled: false |
84 | | - condition: succeeded() |
85 | | - inputs: |
86 | | - testSelector: 'testAssemblies' |
87 | | - testAssemblyVer2: | |
88 | | - **\*test*.dll |
89 | | - !**\*TestAdapter.dll |
90 | | - !**\obj\** |
91 | | - searchFolder: '$(System.DefaultWorkingDirectory)' |
92 | | - |
93 | 51 | - task: DotNetCoreCLI@2 |
94 | 52 | displayName: dotnet restore |
95 | 53 | inputs: |
@@ -125,6 +83,18 @@ jobs: |
125 | 83 | verbosityPack: 'Minimal' |
126 | 84 | #$(buildConfiguration) -o p:VersionPrefix=$(PackageVersionCLI) " |
127 | 85 |
|
| 86 | + - task: PowerShell@2 |
| 87 | + displayName: GetVersion .Desktop |
| 88 | + inputs: |
| 89 | + filePath: 'build\csproj-version-to-pipeline.ps1' |
| 90 | + arguments: '$(patch) $(Build.SourcesDirectory)\src\Generator.Client.Desktop\Generator.Client.Desktop.csproj PackageVersion' |
| 91 | + |
| 92 | + - task: PowerShell@2 |
| 93 | + displayName: GetVersion .CLI |
| 94 | + inputs: |
| 95 | + filePath: 'build\csproj-version-to-pipeline.ps1' |
| 96 | + arguments: '$(patch) $(Build.SourcesDirectory)\src\Generator.Client.CommandLine\Generator.Client.CommandLine.csproj PackageVersionCLI' |
| 97 | + |
128 | 98 | - task: PowerShell@2 |
129 | 99 | condition: and(succeeded(), eq(variables['BUILD_PUBLISH_ARTIFACTS'], 'True')) |
130 | 100 | displayName: dotnet publish |
|
0 commit comments