Skip to content

Commit aa6423a

Browse files
committed
Add .NET 10 preview support to Azure Pipelines
1 parent 1b5d98c commit aa6423a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,18 @@ parameters:
99
default: 'ap-southeast-1'
1010

1111
steps:
12+
- task: UseDotNet@2
13+
displayName: 'Install .NET 10 Preview'
14+
inputs:
15+
packageType: 'sdk'
16+
version: '10.0.x'
17+
includePreviewVersions: true
1218
- script: npm install -g aws-cdk
1319
displayName: 'Install AWS CDK'
20+
- script: dotnet restore
21+
displayName: 'Restore .NET packages'
22+
- script: dotnet build --no-restore -c Release
23+
displayName: 'Build .NET projects'
1424
- script: cd SimplePasswordManagerService.Infra && cdk synth
1525
displayName: 'CDK Synth'
1626
- task: Docker@2

0 commit comments

Comments
 (0)