Skip to content

Commit ba625db

Browse files
committed
Simplifed the PR's build pipeline
1 parent 70a2756 commit ba625db

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

azure-pipeline-PR.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pool:
1414
steps:
1515
- script: echo Build Number $(name)
1616
- task: UseDotNet@2
17-
displayName: 'Use .NET 7.0 sdk'
17+
displayName: 'Use .NET 8.0 sdk'
1818
inputs:
1919
packageType: sdk
2020
version: 8.0.100
@@ -37,13 +37,4 @@ steps:
3737
**/Xunit.Microsoft.DependencyInjection.csproj
3838
**/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Xunit.Microsoft.DependencyInjection.ExampleTests.csproj
3939
arguments: '--configuration $(BuildConfiguration)'
40-
- task: NuGetCommand@2
41-
displayName: 'Packing'
42-
inputs:
43-
command: 'pack'
44-
packagesToPack: |
45-
**/Xunit.Microsoft.DependencyInjection.csproj
46-
**/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Xunit.Microsoft.DependencyInjection.ExampleTests.csproj
47-
versioningScheme: 'byEnvVar'
48-
versionEnvVar: 'Build.BuildNumber'
4940

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pool:
2121
steps:
2222
- script: echo Build Number $(name)
2323
- task: UseDotNet@2
24-
displayName: 'Use .NET 7.0 sdk'
24+
displayName: 'Use .NET 8.0 sdk'
2525
inputs:
2626
packageType: sdk
2727
version: 8.0.100

0 commit comments

Comments
 (0)