Skip to content

Commit 2b8bb7b

Browse files
author
Evans Aboge (from Dev Box)
committed
Update
1 parent e79a596 commit 2b8bb7b

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,16 @@ extends:
7171
- task: UseDotNet@2
7272
displayName: 'Use .NET 6'
7373
inputs:
74-
version: 6.x
74+
version: 6.0.x
75+
packageType: sdk
76+
installationPath: $(Agent.ToolsDirectory)/dotnet
7577

7678
- task: UseDotNet@2
7779
displayName: 'Use .NET 8'
7880
inputs:
79-
version: 8.x
81+
version: 8.0.x
82+
packageType: sdk
83+
installationPath: $(Agent.ToolsDirectory)/dotnet
8084

8185
# Install the nuget tool.
8286
- task: NuGetToolInstaller@1
@@ -89,15 +93,15 @@ extends:
8993
- task: DotNetCoreCLI@2
9094
displayName: 'build'
9195
inputs:
92-
projects: '$(Build.SourcesDirectory)\Microsoft.OpenApi.sln'
96+
projects: '$(Build.SourcesDirectory)/Microsoft.OpenApi.sln'
9397
arguments: '--configuration $(BuildConfiguration) --no-incremental'
9498

9599
# Run the Unit test
96100
- task: DotNetCoreCLI@2
97101
displayName: 'test'
98102
inputs:
99103
command: test
100-
projects: '$(Build.SourcesDirectory)\Microsoft.OpenApi.sln'
104+
projects: '$(Build.SourcesDirectory)/Microsoft.OpenApi.sln'
101105
arguments: '--configuration $(BuildConfiguration) --no-build'
102106

103107
- task: EsrpCodeSigning@5
@@ -109,7 +113,7 @@ extends:
109113
AuthAKVName: 'akv-prod-eastus'
110114
AuthCertName: 'ReferenceLibraryPrivateCert'
111115
AuthSignCertName: 'ReferencePackagePublisherCertificate'
112-
FolderPath: '$(Build.SourcesDirectory)\src'
116+
FolderPath: '$(Build.SourcesDirectory)/src'
113117
signConfigType: 'inlineSignParams'
114118
inlineOperation: |
115119
[

0 commit comments

Comments
 (0)