Skip to content

Commit edd3450

Browse files
Update Azure Pipelines configuration to install .NET Aspire workload
1 parent 2cc249a commit edd3450

File tree

1 file changed

+9
-20
lines changed

1 file changed

+9
-20
lines changed

azure-pipelines.yml

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
# ASP.NET Core
2-
3-
# Build and test ASP.NET Core projects targeting .NET Core.
4-
# Add steps that run tests, create a NuGet package, deploy, and more:
5-
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
6-
7-
trigger:
8-
- main
9-
10-
pool:
11-
vmImage: ubuntu-latest
12-
13-
variables:
14-
buildConfiguration: 'Release'
15-
161
resources:
172
containers:
183
- container: mongo
@@ -29,6 +14,13 @@ steps:
2914
inputs:
3015
version: '9.0.x'
3116

17+
- task: UseDotNet@2
18+
displayName: 'Install .NET Aspire workload'
19+
inputs:
20+
command: custom
21+
custom: workload install aspire
22+
version: '9.0.x'
23+
3224
- task: NuGetToolInstaller@1
3325
displayName: 'Install NuGet >=6.3.0-0'
3426
inputs:
@@ -37,7 +29,7 @@ steps:
3729

3830
- task: NuGetCommand@2
3931
inputs:
40-
command: 'restore'
32+
command: 'restore'
4133
restoreSolution: '**/*.sln'
4234
feedsToUse: 'select'
4335

@@ -69,7 +61,4 @@ steps:
6961
arguments: '--configuration $(BuildConfiguration) --output $(Build.ArtifactStagingDirectory)'
7062
zipAfterPublish: True
7163

72-
- task: PublishPipelineArtifact@1
73-
inputs:
74-
targetPath: '$(Build.ArtifactStagingDirectory)'
75-
artifactName: 'grandnode'
64+
- task: PublishPipelineArtifact@1

0 commit comments

Comments
 (0)